{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [],
   "source": [
    "import warnings\n",
    "warnings.filterwarnings('ignore')\n",
    "import os"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [],
   "source": [
    "__file__ = 'InceptionResNetV2-Xception-8.27.4-3'\n",
    "os.environ[\"CUDA_VISIBLE_DEVICES\"] = \"3\""
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "Using TensorFlow backend.\n"
     ]
    }
   ],
   "source": [
    "from keras.preprocessing.image import ImageDataGenerator\n",
    "from glob import glob\n",
    "import tensorflow as tf\n",
    "import numpy as np\n",
    "import pandas as pd\n",
    "import matplotlib.pyplot as plt\n",
    "import keras\n",
    "from keras.applications.inception_v3 import InceptionV3\n",
    "from keras.applications.xception import Xception\n",
    "from keras.applications.resnet50 import ResNet50\n",
    "from keras_applications.resnext import ResNeXt50\n",
    "from keras.applications.nasnet import NASNetLarge\n",
    "from keras.applications.inception_resnet_v2 import InceptionResNetV2\n",
    "from keras.models import *\n",
    "from keras.layers import *\n",
    "from keras.optimizers import *\n",
    "from keras.callbacks import *\n",
    "import PIL\n",
    "import time\n",
    "\n",
    "def preprocess_img(x):\n",
    "    x = x / 127.5\n",
    "    x -= 1.\n",
    "    return x"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [],
   "source": [
    "path_data = '../garbage_classify/train_data'\n",
    "batch_size = 16\n",
    "img_size = 299\n",
    "img_width = img_size\n",
    "img_height = img_size\n",
    "random_seed = 201908\n",
    "path_data_train = '../tmp/data_train/'\n",
    "path_data_valid = '../tmp/data_valid/'\n",
    "labels_file = '../tmp/labels_raw.csv'"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<matplotlib.axes._subplots.AxesSubplot at 0x7f2dad012ba8>"
      ]
     },
     "execution_count": 5,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAX0AAAEGCAYAAACJnEVTAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjEsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy8QZhcZAAATcElEQVR4nO3df5Bd5X3f8fcHIaRSCNYvGIIgghZTgcEUVgTHPyJnXJBwO0CGcUlJrYl/EBwntTNTxqTjCbE9dIynSRPZAVutKWRqQzC2sVpTI0EBN40BixRj8VMqhtESQDKyMcUGS/DtH/csvVlWP3ZX0r3q837N7Nxzn/Occ7/7jPS5Z59z7rmpKiRJbThg0AVIkvYdQ1+SGmLoS1JDDH1JaoihL0kNOXDQBezM/Pnza9GiRYMuQ5L2K/fdd98Pq2rBROuGOvQXLVrEunXrBl2GJO1Xkjy5o3VO70hSQwx9SWqIoS9JDRnqOX1JGm/btm2Mjo7y0ksvDbqUgZs9ezYLFy5k5syZu72NoS9pvzI6Osqhhx7KokWLSDLocgamqnjuuecYHR3l2GOP3e3tnN6RtF956aWXmDdvXtOBD5CEefPmTfovHkNf0n6n9cAfM5VxMPQlqSGGviRNwcqVK1m8eDEXXXTRoEuZFE/kStIUXHXVVdx2220sXLhw0KVMikf6kjRJl1xyCY8//jjLly/nsMMO433vex9Lly7luOOOY+XKla/1O++88zj99NM56aSTWLVq1WvthxxyCJdeeiknnXQS73rXu7j33ntf23716tUAvPLKK1x66aUsWbKEU045hS984Qt7pPYM89cljoyMlPfekdTv4YcfZvHixQB84r88yEN/+5M9uv8Tf/EXuPyfnbTLfmP3Bvvc5z7HmjVruOOOO3jhhRc44YQTeOaZZ5g5cyZbt25l7ty5/OxnP2PJkiXcddddr115dMstt7B8+XLOP/98XnzxRb75zW/y0EMPsWLFCu6//35WrVrF5s2b+fjHP87LL7/MW9/6Vr7yla+87vLM/vEYk+S+qhqZqG6ndyRpmt797ncza9YsZs2axeGHH86zzz7LwoULWblyJV//+tcB2LRpExs2bGDevHkcdNBBLFu2DICTTz6ZWbNmMXPmTE4++WSeeOIJANasWcMDDzzATTfdBMDzzz/Phg0bJnVN/kQMfUn7rd05It8XZs2a9dryjBkz2L59O3feeSe33XYb3/nOdzj44INZunTpa9fUz5w587XLLQ844IDXtj/ggAPYvn070Pvw1Wc/+1nOPvvsPVqrc/qStBc8//zzzJkzh4MPPphHHnmEu+++e1Lbn3322Vx99dVs27YNgMcee4wXX3xx2nV5pC9Je8GyZcv4/Oc/z+LFiznhhBM488wzJ7X9Bz7wAZ544glOO+00qooFCxZw8803T7suT+RK2q9MdOKyZZM9kev0jiQ1xNCXpIYY+pL2O8M8Lb0vTWUcDH1J+5XZs2fz3HPPNR/8Y/fTnz179qS28+odSfuVhQsXMjo6ypYtWwZdysCNfXPWZBj6kvYrM2fOnPanUlvm9I4kNcTQl6SG7DL0k1yTZHOS9X1tc5OsTbKhe5wzbpslSbYnuaCvbUXXf0OSFXv215Ak7Y7dOdK/Flg2ru0y4PaqOh64vXsOQJIZwJXAmr62ucDlwC8DZwCXj3+jkCTtfbsM/ar6NrB1XPO5wHXd8nXAeX3rfg/4KrC5r+1sYG1Vba2qHwFref0biSRpL5vqnP4RVfV0t/wMcARAkqOA84Grx/U/CtjU93y0a3udJBcnWZdknZdkSdKeNe0TudX7hMTYpyT+FPhYVb06jf2tqqqRqhpZsGDBdMuTJPWZ6nX6zyY5sqqeTnIk/28qZwS4oftygPnAOUm2A08BS/u2XwjcOcXXliRN0VSP9FcDY1fgrAC+AVBVx1bVoqpaBNwE/E5V3QzcCpyVZE53Avesrk2StA/t8kg/yfX0jtLnJxmldxXOp4Ebk7wfeBJ4z872UVVbk3wK+G7X9MmqGn9yWJK0l/klKpL0/xm/REWSBBj6ktQUQ1+SGmLoS1JDDH1JaoihL0kNMfQlqSGGviQ1xNCXpIYY+pLUEENfkhpi6EtSQwx9SWqIoS9JDTH0Jakhhr4kNcTQl6SGGPqS1BBDX5IaYuhLUkMMfUlqiKEvSQ0x9CWpIYa+JDXE0Jekhhj6ktQQQ1+SGmLoS1JDDH1JaoihL0kN2WXoJ7kmyeYk6/va5iZZm2RD9zina78oyQNJvp/kr5O8uW+bZUkeTbIxyWV759eRJO3M7hzpXwssG9d2GXB7VR0P3N49B/gB8KtVdTLwKWAVQJIZwJ8Dy4ETgd9IcuK0q5ckTcouQ7+qvg1sHdd8LnBdt3wdcF7X96+r6kdd+93Awm75DGBjVT1eVT8Hbuj2IUnah6Y6p39EVT3dLT8DHDFBn/cD/61bPgrY1LdutGuTJO1DB053B1VVSaq/Lck76YX+2ya7vyQXAxcDHHPMMdMtT5LUZ6pH+s8mORKge9w8tiLJKcB/BM6tque65qeAo/u2X9i1vU5VraqqkaoaWbBgwRTLkyRNZKqhvxpY0S2vAL4BkOQY4GvAv6yqx/r6fxc4PsmxSQ4CLuz2IUnah3Y5vZPkemApMD/JKHA58GngxiTvB54E3tN1/0NgHnBVEoDt3VH79iS/C9wKzACuqaoH9/QvI0nauVTVrnsNyMjISK1bt27QZUjSfiXJfVU1MtE6P5ErSQ0x9CWpIYa+JDXE0Jekhhj6ktQQQ1+SGmLoS1JDDH1JaoihL0kNMfQlqSGGviQ1xNCXpIYY+pLUEENfkhpi6EtSQwx9SWqIoS9JDTH0Jakhhr4kNcTQl6SGGPqS1BBDX5IaYuhLUkMMfUlqiKEvSQ0x9CWpIYa+JDXE0Jekhhj6ktQQQ1+SGmLoS1JDdhn6Sa5JsjnJ+r62uUnWJtnQPc7p2pNkZZKNSR5IclrfNiu6/huSrNg7v44kaWd250j/WmDZuLbLgNur6njg9u45wHLg+O7nYuBq6L1JAJcDvwycAVw+9kYhSdp3DtxVh6r6dpJF45rPBZZ2y9cBdwIf69r/oqoKuDvJG5Ic2fVdW1VbAZKspfdGcv3OXvvxLS/yz7/wnd38VSRJuzLVOf0jqurpbvkZ4Ihu+ShgU1+/0a5tR+2vk+TiJOuSrNu2bdsUy5MkTWSXR/q7UlWVpPZEMd3+VgGrAEZGRuovf/ste2rXktSEGy/Z8bqpHuk/203b0D1u7tqfAo7u67ewa9tRuyRpH5pq6K8Gxq7AWQF8o6/9vd1VPGcCz3fTQLcCZyWZ053APatrkyTtQ7uc3klyPb0TsfOTjNK7CufTwI1J3g88Cbyn634LcA6wEfgp8FsAVbU1yaeA73b9Pjl2UleStO+kd6HNcBoZGal169YNugxJ2q8kua+qRiZa5ydyJakhhr4kNcTQl6SGGPqS1BBDX5IaYuhLUkMMfUlqiKEvSQ0x9CWpIYa+JDXE0Jekhhj6ktQQQ1+SGmLoS1JDDH1JaoihL0kNMfQlqSGGviQ1xNCXpIYY+pLUEENfkhpi6EtSQwx9SWqIoS9JDTH0Jakhhr4kNcTQl6SGGPqS1BBDX5IaYuhLUkOmFfpJPpJkfZIHk3y0azs1yd1J7k+yLskZXXuSrEyyMckDSU7bE7+AJGn3TTn0k7wJ+CBwBvBm4J8m+YfAZ4BPVNWpwB92zwGWA8d3PxcDV0+jbknSFEznSH8xcE9V/bSqtgN3Ab8OFPALXZ/DgL/tls8F/qJ67gbekOTIaby+JGmSDpzGtuuBK5LMA34GnAOsAz4K3Jrk39F7U/mVrv9RwKa+7Ue7tqenUYMkaRKmfKRfVQ8DVwJrgG8B9wOvAB8Cfr+qjgZ+H/jiZPab5OLuXMC6LVu2TLU8SdIEpnUit6q+WFWnV9U7gB8BjwErgK91Xb5Cb84f4Cng6L7NF3Zt4/e5qqpGqmpkwYIF0ylPkjTOdK/eObx7PIbefP6X6c3h/2rX5deADd3yauC93VU8ZwLPV5VTO5K0D01nTh/gq92c/jbgw1X14yQfBP4syYHAS/Su1AG4hd68/0bgp8BvTfO1JUmTNK3Qr6q3T9D2V8DpE7QX8OHpvJ4kaXr8RK4kNcTQl6SGGPqS1BBDX5IaYuhLUkMMfUlqiKEvSQ0x9CWpIYa+JDXE0Jekhhj6ktQQQ1+SGmLoS1JDDH1JaoihL0kNMfQlqSGGviQ1xNCXpIYY+pLUEENfkhpi6EtSQwx9SWqIoS9JDTH0Jakhhr4kNcTQl6SGGPqS1BBDX5IaYuhLUkMMfUlqiKEvSQ2ZVugn+UiS9UkeTPLRvvbfS/JI1/6ZvvY/SLIxyaNJzp7Oa0uSJu/AqW6Y5E3AB4EzgJ8D30ryX4GjgXOBN1fVy0kO7/qfCFwInAT8InBbkjdW1SvT/B0kSbtpOkf6i4F7quqnVbUduAv4deBDwKer6mWAqtrc9T8XuKGqXq6qHwAb6b1hSJL2kemE/nrg7UnmJTkYOIfeUf4bu/Z7ktyVZEnX/yhgU9/2o13b35Hk4iTrkqzbsmXLNMqTJI035emdqno4yZXAGuBF4H7glW6fc4EzgSXAjUmOm8R+VwGrAEZGRmqq9UmSXm9aJ3Kr6otVdXpVvQP4EfAYvSP4r1XPvcCrwHzgKXp/CYxZ2LVJkvaR6V69M3aS9hh68/lfBm4G3tm1vxE4CPghsBq4MMmsJMcCxwP3Tuf1JUmTM+Xpnc5Xk8wDtgEfrqofJ7kGuCbJenpX9ayoqgIeTHIj8BCwvevvlTuStA9NK/Sr6u0TtP0c+M0d9L8CuGI6rylJmjo/kStJDTH0Jakhhr4kNcTQl6SGGPqS1BBDX5IaYuhLUkMMfUlqiKEvSQ0x9CWpIYa+JDXE0Jekhhj6ktQQQ1+SGmLoS1JDDH1JaoihL0kNMfQlqSGGviQ1xNCXpIYY+pLUEENfkhpi6EtSQwx9SWpIqmrQNexQkheARwddx26aD/xw0EXsJmvdO6x177DWyfulqlow0YoD93Ulk/RoVY0MuojdkWSdte551rp3WOvesT/U6vSOJDXE0Jekhgx76K8adAGTYK17h7XuHda6dwx9rUN9IleStGcN+5G+JGkPMvQlqSFDG/pJliV5NMnGJJcNup6dSfJEku8nuT/JukHX0y/JNUk2J1nf1zY3ydokG7rHOYOsccwOav2jJE91Y3t/knMGWeOYJEcnuSPJQ0keTPKRrn2oxnYndQ7duCaZneTeJN/rav1E135sknu6LPjLJAcNca3XJvlB37ieOuhaX6eqhu4HmAH8b+A44CDge8CJg65rJ/U+AcwfdB07qO0dwGnA+r62zwCXdcuXAVcOus6d1PpHwL8edG0T1HokcFq3fCjwGHDisI3tTuocunEFAhzSLc8E7gHOBG4ELuzaPw98aIhrvRa4YND17exnWI/0zwA2VtXjVfVz4Abg3AHXtF+qqm8DW8c1nwtc1y1fB5y3T4vagR3UOpSq6umq+ptu+QXgYeAohmxsd1Ln0Kme/9M9ndn9FPBrwE1d+8DHFHZa69Ab1tA/CtjU93yUIf2H2ilgTZL7klw86GJ2wxFV9XS3/AxwxCCL2Q2/m+SBbvpnKKai+iVZBPxjekd7Qzu24+qEIRzXJDOS3A9sBtbS+4v/x1W1vesyNFkwvtaqGhvXK7px/fdJZg2wxAkNa+jvb95WVacBy4EPJ3nHoAvaXdX7+3SYj1CuBv4BcCrwNPDHgy3n70pyCPBV4KNV9ZP+dcM0thPUOZTjWlWvVNWpwEJ6f/H/owGXtEPja03yJuAP6NW8BJgLfGyAJU5oWEP/KeDovucLu7ahVFVPdY+bga/T+8c6zJ5NciRA97h5wPXsUFU92/3nehX4DwzR2CaZSS9Iv1RVX+uah25sJ6pzmMcVoKp+DNwBvAV4Q5Kx+4QNXRb01bqsm06rqnoZ+E8M2bjC8Ib+d4Hju7P2BwEXAqsHXNOEkvz9JIeOLQNnAet3vtXArQZWdMsrgG8MsJadGgvQzvkMydgmCfBF4OGq+pO+VUM1tjuqcxjHNcmCJG/olv8e8E/onYO4A7ig6zbwMYUd1vpI3xt+6J17GPi4jje0n8jtLiH7U3pX8lxTVVcMuKQJJTmO3tE99O5a+uVhqjXJ9cBSerd8fRa4HLiZ3hURxwBPAu+pqoGfQN1BrUvpTUEUvaukfrtvznxgkrwN+B/A94FXu+Z/Q2++fGjGdid1/gZDNq5JTqF3onYGvQPSG6vqk93/sRvoTZf8L+A3uyPpgdlJrf8dWEDv6p77gUv6TvgOhaENfUnSnjes0zuSpL3A0Jekhhj6ktQQQ1+SGmLoS1JDDH2pT5KdXl6XZFH/XUB3c5/XJrlg1z2lvc/Ql6SGGPrSBJIckuT2JH/TfVdC/11eD0zypSQPJ7kpycHdNqcnuau78d6t4z71Kg0FQ1+a2EvA+d2N9N4J/HH30XqAE4Crqmox8BPgd7r723yW3r3UTweuAYbmk9nSmAN33UVqUoB/290x9VV6t/Mdu03ypqr6n93yfwb+FfAt4E3A2u69YQa9u1dKQ8XQlyZ2Eb17qJxeVduSPAHM7taNv3dJ0XuTeLCq3rLvSpQmz+kdaWKHAZu7wH8n8Et9645JMhbu/wL4K+BRYMFYe5KZSU7apxVLu8HQlyb2JWAkyfeB9wKP9K17lN6X5TwMzAGu7r7W8wLgyiTfo3eHxV/ZxzVLu+RdNiWpIR7pS1JDDH1JaoihL0kNMfQlqSGGviQ1xNCXpIYY+pLUkP8LKWxi8D45m+sAAAAASUVORK5CYII=\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {
      "needs_background": "light"
     },
     "output_type": "display_data"
    }
   ],
   "source": [
    "labels_train = pd.read_csv('../tmp/labels_train.csv')\n",
    "labels_valid = pd.read_csv('../tmp/labels_valid.csv')\n",
    "n_classess = labels_train.label.unique().shape[0]\n",
    "labels_train.groupby(by='label').count().plot()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [],
   "source": [
    "labels_train.label = labels_train.label.apply(lambda x: f'{x:02d}')\n",
    "labels_valid.label = labels_valid.label.apply(lambda x: f'{x:02d}')\n",
    "# labels_train['label_bin'].values = keras.utils.np_utils.to_categorical(\n",
    "#     labels_train.label, n_classess)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Found 40000 validated image filenames belonging to 40 classes.\n",
      "Found 2978 validated image filenames belonging to 40 classes.\n"
     ]
    }
   ],
   "source": [
    "ig = ImageDataGenerator(preprocessing_function=preprocess_img)\n",
    "\n",
    "params_g = dict(\n",
    "    batch_size=batch_size,\n",
    "    # directory=path_data,\n",
    "    # class_mode='other',\n",
    "    x_col='fname',\n",
    "    y_col='label',\n",
    "    target_size=(img_width, img_height),\n",
    "    interpolation='lanczos',\n",
    "    seed=random_seed)\n",
    "\n",
    "train_g = ig.flow_from_dataframe(\n",
    "    labels_train, path_data_train, **params_g)\n",
    "valid_g = ig.flow_from_dataframe(\n",
    "    labels_valid, path_data_valid, **params_g)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {},
   "outputs": [],
   "source": [
    "input_tensor = Input((img_width, img_height, 3))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "WARNING:tensorflow:From /usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/op_def_library.py:263: colocate_with (from tensorflow.python.framework.ops) is deprecated and will be removed in a future version.\n",
      "Instructions for updating:\n",
      "Colocations handled automatically by placer.\n"
     ]
    }
   ],
   "source": [
    "base_model_InceptionResNetV2 = InceptionResNetV2(weights='imagenet', include_top=False, input_tensor=input_tensor)\n",
    "base_model_Xception = InceptionResNetV2(weights='imagenet', include_top=False, input_tensor=input_tensor)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {},
   "outputs": [],
   "source": [
    "for layer in base_model_InceptionResNetV2.layers:\n",
    "    layer.name = 'InceptionResNetV2_'+layer.name\n",
    "for layer in base_model_Xception.layers:\n",
    "    layer.name = 'Xception_'+layer.name"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {},
   "outputs": [],
   "source": [
    "a = base_model_InceptionResNetV2.output\n",
    "b = base_model_Xception.output\n",
    "\n",
    "a = GlobalAveragePooling2D()(a)\n",
    "b = GlobalAveragePooling2D()(b)\n",
    "\n",
    "x = Concatenate(axis=-1)([a,b])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "WARNING:tensorflow:From /usr/local/lib/python3.6/dist-packages/keras/backend/tensorflow_backend.py:3445: calling dropout (from tensorflow.python.ops.nn_ops) with keep_prob is deprecated and will be removed in a future version.\n",
      "Instructions for updating:\n",
      "Please use `rate` instead of `keep_prob`. Rate should be set to `rate = 1 - keep_prob`.\n",
      "__________________________________________________________________________________________________\n",
      "Layer (type)                    Output Shape         Param #     Connected to                     \n",
      "==================================================================================================\n",
      "Xception_InceptionResNetV2_inpu (None, 299, 299, 3)  0                                            \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_1 (Con (None, 149, 149, 32) 864         Xception_InceptionResNetV2_input_\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_204 (Conv2D)    (None, 149, 149, 32) 864         Xception_InceptionResNetV2_input_\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 149, 149, 32) 96          InceptionResNetV2_conv2d_1[0][0] \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_20 (None, 149, 149, 32) 96          Xception_conv2d_204[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_1  (None, 149, 149, 32) 0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_204 (Activa (None, 149, 149, 32) 0           Xception_batch_normalization_204[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_2 (Con (None, 147, 147, 32) 9216        InceptionResNetV2_activation_1[0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_205 (Conv2D)    (None, 147, 147, 32) 9216        Xception_activation_204[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 147, 147, 32) 96          InceptionResNetV2_conv2d_2[0][0] \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_20 (None, 147, 147, 32) 96          Xception_conv2d_205[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_2  (None, 147, 147, 32) 0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_205 (Activa (None, 147, 147, 32) 0           Xception_batch_normalization_205[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_3 (Con (None, 147, 147, 64) 18432       InceptionResNetV2_activation_2[0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_206 (Conv2D)    (None, 147, 147, 64) 18432       Xception_activation_205[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 147, 147, 64) 192         InceptionResNetV2_conv2d_3[0][0] \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_20 (None, 147, 147, 64) 192         Xception_conv2d_206[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_3  (None, 147, 147, 64) 0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_206 (Activa (None, 147, 147, 64) 0           Xception_batch_normalization_206[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_max_pooling2d (None, 73, 73, 64)   0           InceptionResNetV2_activation_3[0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_max_pooling2d_5 (MaxPo (None, 73, 73, 64)   0           Xception_activation_206[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_4 (Con (None, 73, 73, 80)   5120        InceptionResNetV2_max_pooling2d_1\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_207 (Conv2D)    (None, 73, 73, 80)   5120        Xception_max_pooling2d_5[0][0]   \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 73, 73, 80)   240         InceptionResNetV2_conv2d_4[0][0] \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_20 (None, 73, 73, 80)   240         Xception_conv2d_207[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_4  (None, 73, 73, 80)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_207 (Activa (None, 73, 73, 80)   0           Xception_batch_normalization_207[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_5 (Con (None, 71, 71, 192)  138240      InceptionResNetV2_activation_4[0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_208 (Conv2D)    (None, 71, 71, 192)  138240      Xception_activation_207[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 71, 71, 192)  576         InceptionResNetV2_conv2d_5[0][0] \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_20 (None, 71, 71, 192)  576         Xception_conv2d_208[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_5  (None, 71, 71, 192)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_208 (Activa (None, 71, 71, 192)  0           Xception_batch_normalization_208[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_max_pooling2d (None, 35, 35, 192)  0           InceptionResNetV2_activation_5[0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_max_pooling2d_6 (MaxPo (None, 35, 35, 192)  0           Xception_activation_208[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_9 (Con (None, 35, 35, 64)   12288       InceptionResNetV2_max_pooling2d_2\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_212 (Conv2D)    (None, 35, 35, 64)   12288       Xception_max_pooling2d_6[0][0]   \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 64)   192         InceptionResNetV2_conv2d_9[0][0] \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_21 (None, 35, 35, 64)   192         Xception_conv2d_212[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_9  (None, 35, 35, 64)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_212 (Activa (None, 35, 35, 64)   0           Xception_batch_normalization_212[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_7 (Con (None, 35, 35, 48)   9216        InceptionResNetV2_max_pooling2d_2\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_10 (Co (None, 35, 35, 96)   55296       InceptionResNetV2_activation_9[0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_210 (Conv2D)    (None, 35, 35, 48)   9216        Xception_max_pooling2d_6[0][0]   \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_213 (Conv2D)    (None, 35, 35, 96)   55296       Xception_activation_212[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 48)   144         InceptionResNetV2_conv2d_7[0][0] \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 96)   288         InceptionResNetV2_conv2d_10[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_21 (None, 35, 35, 48)   144         Xception_conv2d_210[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_21 (None, 35, 35, 96)   288         Xception_conv2d_213[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_7  (None, 35, 35, 48)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_10 (None, 35, 35, 96)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_average_pooli (None, 35, 35, 192)  0           InceptionResNetV2_max_pooling2d_2\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_210 (Activa (None, 35, 35, 48)   0           Xception_batch_normalization_210[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_213 (Activa (None, 35, 35, 96)   0           Xception_batch_normalization_213[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_average_pooling2d_2 (A (None, 35, 35, 192)  0           Xception_max_pooling2d_6[0][0]   \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_6 (Con (None, 35, 35, 96)   18432       InceptionResNetV2_max_pooling2d_2\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_8 (Con (None, 35, 35, 64)   76800       InceptionResNetV2_activation_7[0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_11 (Co (None, 35, 35, 96)   82944       InceptionResNetV2_activation_10[0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_12 (Co (None, 35, 35, 64)   12288       InceptionResNetV2_average_pooling\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_209 (Conv2D)    (None, 35, 35, 96)   18432       Xception_max_pooling2d_6[0][0]   \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_211 (Conv2D)    (None, 35, 35, 64)   76800       Xception_activation_210[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_214 (Conv2D)    (None, 35, 35, 96)   82944       Xception_activation_213[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_215 (Conv2D)    (None, 35, 35, 64)   12288       Xception_average_pooling2d_2[0][0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 96)   288         InceptionResNetV2_conv2d_6[0][0] \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 64)   192         InceptionResNetV2_conv2d_8[0][0] \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 96)   288         InceptionResNetV2_conv2d_11[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 64)   192         InceptionResNetV2_conv2d_12[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_20 (None, 35, 35, 96)   288         Xception_conv2d_209[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_21 (None, 35, 35, 64)   192         Xception_conv2d_211[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_21 (None, 35, 35, 96)   288         Xception_conv2d_214[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_21 (None, 35, 35, 64)   192         Xception_conv2d_215[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_6  (None, 35, 35, 96)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_8  (None, 35, 35, 64)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_11 (None, 35, 35, 96)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_12 (None, 35, 35, 64)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_209 (Activa (None, 35, 35, 96)   0           Xception_batch_normalization_209[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_211 (Activa (None, 35, 35, 64)   0           Xception_batch_normalization_211[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_214 (Activa (None, 35, 35, 96)   0           Xception_batch_normalization_214[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_215 (Activa (None, 35, 35, 64)   0           Xception_batch_normalization_215[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_mixed_5b (Con (None, 35, 35, 320)  0           InceptionResNetV2_activation_6[0]\n",
      "                                                                 InceptionResNetV2_activation_8[0]\n",
      "                                                                 InceptionResNetV2_activation_11[0\n",
      "                                                                 InceptionResNetV2_activation_12[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_mixed_5b (Concatenate) (None, 35, 35, 320)  0           Xception_activation_209[0][0]    \n",
      "                                                                 Xception_activation_211[0][0]    \n",
      "                                                                 Xception_activation_214[0][0]    \n",
      "                                                                 Xception_activation_215[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_16 (Co (None, 35, 35, 32)   10240       InceptionResNetV2_mixed_5b[0][0] \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_219 (Conv2D)    (None, 35, 35, 32)   10240       Xception_mixed_5b[0][0]          \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 32)   96          InceptionResNetV2_conv2d_16[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_21 (None, 35, 35, 32)   96          Xception_conv2d_219[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_16 (None, 35, 35, 32)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_219 (Activa (None, 35, 35, 32)   0           Xception_batch_normalization_219[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_14 (Co (None, 35, 35, 32)   10240       InceptionResNetV2_mixed_5b[0][0] \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_17 (Co (None, 35, 35, 48)   13824       InceptionResNetV2_activation_16[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_217 (Conv2D)    (None, 35, 35, 32)   10240       Xception_mixed_5b[0][0]          \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_220 (Conv2D)    (None, 35, 35, 48)   13824       Xception_activation_219[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 32)   96          InceptionResNetV2_conv2d_14[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 48)   144         InceptionResNetV2_conv2d_17[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_21 (None, 35, 35, 32)   96          Xception_conv2d_217[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_22 (None, 35, 35, 48)   144         Xception_conv2d_220[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_14 (None, 35, 35, 32)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_17 (None, 35, 35, 48)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_217 (Activa (None, 35, 35, 32)   0           Xception_batch_normalization_217[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_220 (Activa (None, 35, 35, 48)   0           Xception_batch_normalization_220[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_13 (Co (None, 35, 35, 32)   10240       InceptionResNetV2_mixed_5b[0][0] \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_15 (Co (None, 35, 35, 32)   9216        InceptionResNetV2_activation_14[0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_18 (Co (None, 35, 35, 64)   27648       InceptionResNetV2_activation_17[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_216 (Conv2D)    (None, 35, 35, 32)   10240       Xception_mixed_5b[0][0]          \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_218 (Conv2D)    (None, 35, 35, 32)   9216        Xception_activation_217[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_221 (Conv2D)    (None, 35, 35, 64)   27648       Xception_activation_220[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 32)   96          InceptionResNetV2_conv2d_13[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 32)   96          InceptionResNetV2_conv2d_15[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 64)   192         InceptionResNetV2_conv2d_18[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_21 (None, 35, 35, 32)   96          Xception_conv2d_216[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_21 (None, 35, 35, 32)   96          Xception_conv2d_218[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_22 (None, 35, 35, 64)   192         Xception_conv2d_221[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_13 (None, 35, 35, 32)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_15 (None, 35, 35, 32)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_18 (None, 35, 35, 64)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_216 (Activa (None, 35, 35, 32)   0           Xception_batch_normalization_216[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_218 (Activa (None, 35, 35, 32)   0           Xception_batch_normalization_218[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_221 (Activa (None, 35, 35, 64)   0           Xception_batch_normalization_221[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block35_1_mix (None, 35, 35, 128)  0           InceptionResNetV2_activation_13[0\n",
      "                                                                 InceptionResNetV2_activation_15[0\n",
      "                                                                 InceptionResNetV2_activation_18[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block35_1_mixed (Conca (None, 35, 35, 128)  0           Xception_activation_216[0][0]    \n",
      "                                                                 Xception_activation_218[0][0]    \n",
      "                                                                 Xception_activation_221[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block35_1_con (None, 35, 35, 320)  41280       InceptionResNetV2_block35_1_mixed\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block35_1_conv (Conv2D (None, 35, 35, 320)  41280       Xception_block35_1_mixed[0][0]   \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block35_1 (La (None, 35, 35, 320)  0           InceptionResNetV2_mixed_5b[0][0] \n",
      "                                                                 InceptionResNetV2_block35_1_conv[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block35_1 (Lambda)     (None, 35, 35, 320)  0           Xception_mixed_5b[0][0]          \n",
      "                                                                 Xception_block35_1_conv[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block35_1_ac  (None, 35, 35, 320)  0           InceptionResNetV2_block35_1[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block35_1_ac (Activati (None, 35, 35, 320)  0           Xception_block35_1[0][0]         \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_22 (Co (None, 35, 35, 32)   10240       InceptionResNetV2_block35_1_ac[0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_225 (Conv2D)    (None, 35, 35, 32)   10240       Xception_block35_1_ac[0][0]      \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 32)   96          InceptionResNetV2_conv2d_22[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_22 (None, 35, 35, 32)   96          Xception_conv2d_225[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_22 (None, 35, 35, 32)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_225 (Activa (None, 35, 35, 32)   0           Xception_batch_normalization_225[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_20 (Co (None, 35, 35, 32)   10240       InceptionResNetV2_block35_1_ac[0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_23 (Co (None, 35, 35, 48)   13824       InceptionResNetV2_activation_22[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_223 (Conv2D)    (None, 35, 35, 32)   10240       Xception_block35_1_ac[0][0]      \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_226 (Conv2D)    (None, 35, 35, 48)   13824       Xception_activation_225[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 32)   96          InceptionResNetV2_conv2d_20[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 48)   144         InceptionResNetV2_conv2d_23[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_22 (None, 35, 35, 32)   96          Xception_conv2d_223[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_22 (None, 35, 35, 48)   144         Xception_conv2d_226[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_20 (None, 35, 35, 32)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_23 (None, 35, 35, 48)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_223 (Activa (None, 35, 35, 32)   0           Xception_batch_normalization_223[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_226 (Activa (None, 35, 35, 48)   0           Xception_batch_normalization_226[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_19 (Co (None, 35, 35, 32)   10240       InceptionResNetV2_block35_1_ac[0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_21 (Co (None, 35, 35, 32)   9216        InceptionResNetV2_activation_20[0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_24 (Co (None, 35, 35, 64)   27648       InceptionResNetV2_activation_23[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_222 (Conv2D)    (None, 35, 35, 32)   10240       Xception_block35_1_ac[0][0]      \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_224 (Conv2D)    (None, 35, 35, 32)   9216        Xception_activation_223[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_227 (Conv2D)    (None, 35, 35, 64)   27648       Xception_activation_226[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 32)   96          InceptionResNetV2_conv2d_19[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 32)   96          InceptionResNetV2_conv2d_21[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 64)   192         InceptionResNetV2_conv2d_24[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_22 (None, 35, 35, 32)   96          Xception_conv2d_222[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_22 (None, 35, 35, 32)   96          Xception_conv2d_224[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_22 (None, 35, 35, 64)   192         Xception_conv2d_227[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_19 (None, 35, 35, 32)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_21 (None, 35, 35, 32)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_24 (None, 35, 35, 64)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_222 (Activa (None, 35, 35, 32)   0           Xception_batch_normalization_222[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_224 (Activa (None, 35, 35, 32)   0           Xception_batch_normalization_224[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_227 (Activa (None, 35, 35, 64)   0           Xception_batch_normalization_227[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block35_2_mix (None, 35, 35, 128)  0           InceptionResNetV2_activation_19[0\n",
      "                                                                 InceptionResNetV2_activation_21[0\n",
      "                                                                 InceptionResNetV2_activation_24[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block35_2_mixed (Conca (None, 35, 35, 128)  0           Xception_activation_222[0][0]    \n",
      "                                                                 Xception_activation_224[0][0]    \n",
      "                                                                 Xception_activation_227[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block35_2_con (None, 35, 35, 320)  41280       InceptionResNetV2_block35_2_mixed\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block35_2_conv (Conv2D (None, 35, 35, 320)  41280       Xception_block35_2_mixed[0][0]   \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block35_2 (La (None, 35, 35, 320)  0           InceptionResNetV2_block35_1_ac[0]\n",
      "                                                                 InceptionResNetV2_block35_2_conv[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block35_2 (Lambda)     (None, 35, 35, 320)  0           Xception_block35_1_ac[0][0]      \n",
      "                                                                 Xception_block35_2_conv[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block35_2_ac  (None, 35, 35, 320)  0           InceptionResNetV2_block35_2[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block35_2_ac (Activati (None, 35, 35, 320)  0           Xception_block35_2[0][0]         \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_28 (Co (None, 35, 35, 32)   10240       InceptionResNetV2_block35_2_ac[0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_231 (Conv2D)    (None, 35, 35, 32)   10240       Xception_block35_2_ac[0][0]      \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 32)   96          InceptionResNetV2_conv2d_28[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_23 (None, 35, 35, 32)   96          Xception_conv2d_231[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_28 (None, 35, 35, 32)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_231 (Activa (None, 35, 35, 32)   0           Xception_batch_normalization_231[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_26 (Co (None, 35, 35, 32)   10240       InceptionResNetV2_block35_2_ac[0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_29 (Co (None, 35, 35, 48)   13824       InceptionResNetV2_activation_28[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_229 (Conv2D)    (None, 35, 35, 32)   10240       Xception_block35_2_ac[0][0]      \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_232 (Conv2D)    (None, 35, 35, 48)   13824       Xception_activation_231[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 32)   96          InceptionResNetV2_conv2d_26[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 48)   144         InceptionResNetV2_conv2d_29[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_22 (None, 35, 35, 32)   96          Xception_conv2d_229[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_23 (None, 35, 35, 48)   144         Xception_conv2d_232[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_26 (None, 35, 35, 32)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_29 (None, 35, 35, 48)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_229 (Activa (None, 35, 35, 32)   0           Xception_batch_normalization_229[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_232 (Activa (None, 35, 35, 48)   0           Xception_batch_normalization_232[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_25 (Co (None, 35, 35, 32)   10240       InceptionResNetV2_block35_2_ac[0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_27 (Co (None, 35, 35, 32)   9216        InceptionResNetV2_activation_26[0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_30 (Co (None, 35, 35, 64)   27648       InceptionResNetV2_activation_29[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_228 (Conv2D)    (None, 35, 35, 32)   10240       Xception_block35_2_ac[0][0]      \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_230 (Conv2D)    (None, 35, 35, 32)   9216        Xception_activation_229[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_233 (Conv2D)    (None, 35, 35, 64)   27648       Xception_activation_232[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 32)   96          InceptionResNetV2_conv2d_25[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 32)   96          InceptionResNetV2_conv2d_27[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 64)   192         InceptionResNetV2_conv2d_30[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_22 (None, 35, 35, 32)   96          Xception_conv2d_228[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_23 (None, 35, 35, 32)   96          Xception_conv2d_230[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_23 (None, 35, 35, 64)   192         Xception_conv2d_233[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_25 (None, 35, 35, 32)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_27 (None, 35, 35, 32)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_30 (None, 35, 35, 64)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_228 (Activa (None, 35, 35, 32)   0           Xception_batch_normalization_228[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_230 (Activa (None, 35, 35, 32)   0           Xception_batch_normalization_230[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_233 (Activa (None, 35, 35, 64)   0           Xception_batch_normalization_233[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block35_3_mix (None, 35, 35, 128)  0           InceptionResNetV2_activation_25[0\n",
      "                                                                 InceptionResNetV2_activation_27[0\n",
      "                                                                 InceptionResNetV2_activation_30[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block35_3_mixed (Conca (None, 35, 35, 128)  0           Xception_activation_228[0][0]    \n",
      "                                                                 Xception_activation_230[0][0]    \n",
      "                                                                 Xception_activation_233[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block35_3_con (None, 35, 35, 320)  41280       InceptionResNetV2_block35_3_mixed\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block35_3_conv (Conv2D (None, 35, 35, 320)  41280       Xception_block35_3_mixed[0][0]   \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block35_3 (La (None, 35, 35, 320)  0           InceptionResNetV2_block35_2_ac[0]\n",
      "                                                                 InceptionResNetV2_block35_3_conv[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block35_3 (Lambda)     (None, 35, 35, 320)  0           Xception_block35_2_ac[0][0]      \n",
      "                                                                 Xception_block35_3_conv[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block35_3_ac  (None, 35, 35, 320)  0           InceptionResNetV2_block35_3[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block35_3_ac (Activati (None, 35, 35, 320)  0           Xception_block35_3[0][0]         \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_34 (Co (None, 35, 35, 32)   10240       InceptionResNetV2_block35_3_ac[0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_237 (Conv2D)    (None, 35, 35, 32)   10240       Xception_block35_3_ac[0][0]      \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 32)   96          InceptionResNetV2_conv2d_34[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_23 (None, 35, 35, 32)   96          Xception_conv2d_237[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_34 (None, 35, 35, 32)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_237 (Activa (None, 35, 35, 32)   0           Xception_batch_normalization_237[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_32 (Co (None, 35, 35, 32)   10240       InceptionResNetV2_block35_3_ac[0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_35 (Co (None, 35, 35, 48)   13824       InceptionResNetV2_activation_34[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_235 (Conv2D)    (None, 35, 35, 32)   10240       Xception_block35_3_ac[0][0]      \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_238 (Conv2D)    (None, 35, 35, 48)   13824       Xception_activation_237[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 32)   96          InceptionResNetV2_conv2d_32[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 48)   144         InceptionResNetV2_conv2d_35[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_23 (None, 35, 35, 32)   96          Xception_conv2d_235[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_23 (None, 35, 35, 48)   144         Xception_conv2d_238[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_32 (None, 35, 35, 32)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_35 (None, 35, 35, 48)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_235 (Activa (None, 35, 35, 32)   0           Xception_batch_normalization_235[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_238 (Activa (None, 35, 35, 48)   0           Xception_batch_normalization_238[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_31 (Co (None, 35, 35, 32)   10240       InceptionResNetV2_block35_3_ac[0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_33 (Co (None, 35, 35, 32)   9216        InceptionResNetV2_activation_32[0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_36 (Co (None, 35, 35, 64)   27648       InceptionResNetV2_activation_35[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_234 (Conv2D)    (None, 35, 35, 32)   10240       Xception_block35_3_ac[0][0]      \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_236 (Conv2D)    (None, 35, 35, 32)   9216        Xception_activation_235[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_239 (Conv2D)    (None, 35, 35, 64)   27648       Xception_activation_238[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 32)   96          InceptionResNetV2_conv2d_31[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 32)   96          InceptionResNetV2_conv2d_33[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 64)   192         InceptionResNetV2_conv2d_36[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_23 (None, 35, 35, 32)   96          Xception_conv2d_234[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_23 (None, 35, 35, 32)   96          Xception_conv2d_236[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_23 (None, 35, 35, 64)   192         Xception_conv2d_239[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_31 (None, 35, 35, 32)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_33 (None, 35, 35, 32)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_36 (None, 35, 35, 64)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_234 (Activa (None, 35, 35, 32)   0           Xception_batch_normalization_234[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_236 (Activa (None, 35, 35, 32)   0           Xception_batch_normalization_236[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_239 (Activa (None, 35, 35, 64)   0           Xception_batch_normalization_239[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block35_4_mix (None, 35, 35, 128)  0           InceptionResNetV2_activation_31[0\n",
      "                                                                 InceptionResNetV2_activation_33[0\n",
      "                                                                 InceptionResNetV2_activation_36[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block35_4_mixed (Conca (None, 35, 35, 128)  0           Xception_activation_234[0][0]    \n",
      "                                                                 Xception_activation_236[0][0]    \n",
      "                                                                 Xception_activation_239[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block35_4_con (None, 35, 35, 320)  41280       InceptionResNetV2_block35_4_mixed\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block35_4_conv (Conv2D (None, 35, 35, 320)  41280       Xception_block35_4_mixed[0][0]   \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block35_4 (La (None, 35, 35, 320)  0           InceptionResNetV2_block35_3_ac[0]\n",
      "                                                                 InceptionResNetV2_block35_4_conv[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block35_4 (Lambda)     (None, 35, 35, 320)  0           Xception_block35_3_ac[0][0]      \n",
      "                                                                 Xception_block35_4_conv[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block35_4_ac  (None, 35, 35, 320)  0           InceptionResNetV2_block35_4[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block35_4_ac (Activati (None, 35, 35, 320)  0           Xception_block35_4[0][0]         \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_40 (Co (None, 35, 35, 32)   10240       InceptionResNetV2_block35_4_ac[0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_243 (Conv2D)    (None, 35, 35, 32)   10240       Xception_block35_4_ac[0][0]      \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 32)   96          InceptionResNetV2_conv2d_40[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_24 (None, 35, 35, 32)   96          Xception_conv2d_243[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_40 (None, 35, 35, 32)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_243 (Activa (None, 35, 35, 32)   0           Xception_batch_normalization_243[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_38 (Co (None, 35, 35, 32)   10240       InceptionResNetV2_block35_4_ac[0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_41 (Co (None, 35, 35, 48)   13824       InceptionResNetV2_activation_40[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_241 (Conv2D)    (None, 35, 35, 32)   10240       Xception_block35_4_ac[0][0]      \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_244 (Conv2D)    (None, 35, 35, 48)   13824       Xception_activation_243[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 32)   96          InceptionResNetV2_conv2d_38[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 48)   144         InceptionResNetV2_conv2d_41[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_24 (None, 35, 35, 32)   96          Xception_conv2d_241[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_24 (None, 35, 35, 48)   144         Xception_conv2d_244[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_38 (None, 35, 35, 32)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_41 (None, 35, 35, 48)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_241 (Activa (None, 35, 35, 32)   0           Xception_batch_normalization_241[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_244 (Activa (None, 35, 35, 48)   0           Xception_batch_normalization_244[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_37 (Co (None, 35, 35, 32)   10240       InceptionResNetV2_block35_4_ac[0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_39 (Co (None, 35, 35, 32)   9216        InceptionResNetV2_activation_38[0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_42 (Co (None, 35, 35, 64)   27648       InceptionResNetV2_activation_41[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_240 (Conv2D)    (None, 35, 35, 32)   10240       Xception_block35_4_ac[0][0]      \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_242 (Conv2D)    (None, 35, 35, 32)   9216        Xception_activation_241[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_245 (Conv2D)    (None, 35, 35, 64)   27648       Xception_activation_244[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 32)   96          InceptionResNetV2_conv2d_37[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 32)   96          InceptionResNetV2_conv2d_39[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 64)   192         InceptionResNetV2_conv2d_42[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_24 (None, 35, 35, 32)   96          Xception_conv2d_240[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_24 (None, 35, 35, 32)   96          Xception_conv2d_242[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_24 (None, 35, 35, 64)   192         Xception_conv2d_245[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_37 (None, 35, 35, 32)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_39 (None, 35, 35, 32)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_42 (None, 35, 35, 64)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_240 (Activa (None, 35, 35, 32)   0           Xception_batch_normalization_240[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_242 (Activa (None, 35, 35, 32)   0           Xception_batch_normalization_242[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_245 (Activa (None, 35, 35, 64)   0           Xception_batch_normalization_245[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block35_5_mix (None, 35, 35, 128)  0           InceptionResNetV2_activation_37[0\n",
      "                                                                 InceptionResNetV2_activation_39[0\n",
      "                                                                 InceptionResNetV2_activation_42[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block35_5_mixed (Conca (None, 35, 35, 128)  0           Xception_activation_240[0][0]    \n",
      "                                                                 Xception_activation_242[0][0]    \n",
      "                                                                 Xception_activation_245[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block35_5_con (None, 35, 35, 320)  41280       InceptionResNetV2_block35_5_mixed\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block35_5_conv (Conv2D (None, 35, 35, 320)  41280       Xception_block35_5_mixed[0][0]   \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block35_5 (La (None, 35, 35, 320)  0           InceptionResNetV2_block35_4_ac[0]\n",
      "                                                                 InceptionResNetV2_block35_5_conv[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block35_5 (Lambda)     (None, 35, 35, 320)  0           Xception_block35_4_ac[0][0]      \n",
      "                                                                 Xception_block35_5_conv[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block35_5_ac  (None, 35, 35, 320)  0           InceptionResNetV2_block35_5[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block35_5_ac (Activati (None, 35, 35, 320)  0           Xception_block35_5[0][0]         \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_46 (Co (None, 35, 35, 32)   10240       InceptionResNetV2_block35_5_ac[0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_249 (Conv2D)    (None, 35, 35, 32)   10240       Xception_block35_5_ac[0][0]      \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 32)   96          InceptionResNetV2_conv2d_46[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_24 (None, 35, 35, 32)   96          Xception_conv2d_249[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_46 (None, 35, 35, 32)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_249 (Activa (None, 35, 35, 32)   0           Xception_batch_normalization_249[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_44 (Co (None, 35, 35, 32)   10240       InceptionResNetV2_block35_5_ac[0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_47 (Co (None, 35, 35, 48)   13824       InceptionResNetV2_activation_46[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_247 (Conv2D)    (None, 35, 35, 32)   10240       Xception_block35_5_ac[0][0]      \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_250 (Conv2D)    (None, 35, 35, 48)   13824       Xception_activation_249[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 32)   96          InceptionResNetV2_conv2d_44[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 48)   144         InceptionResNetV2_conv2d_47[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_24 (None, 35, 35, 32)   96          Xception_conv2d_247[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_25 (None, 35, 35, 48)   144         Xception_conv2d_250[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_44 (None, 35, 35, 32)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_47 (None, 35, 35, 48)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_247 (Activa (None, 35, 35, 32)   0           Xception_batch_normalization_247[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_250 (Activa (None, 35, 35, 48)   0           Xception_batch_normalization_250[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_43 (Co (None, 35, 35, 32)   10240       InceptionResNetV2_block35_5_ac[0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_45 (Co (None, 35, 35, 32)   9216        InceptionResNetV2_activation_44[0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_48 (Co (None, 35, 35, 64)   27648       InceptionResNetV2_activation_47[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_246 (Conv2D)    (None, 35, 35, 32)   10240       Xception_block35_5_ac[0][0]      \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_248 (Conv2D)    (None, 35, 35, 32)   9216        Xception_activation_247[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_251 (Conv2D)    (None, 35, 35, 64)   27648       Xception_activation_250[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 32)   96          InceptionResNetV2_conv2d_43[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 32)   96          InceptionResNetV2_conv2d_45[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 64)   192         InceptionResNetV2_conv2d_48[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_24 (None, 35, 35, 32)   96          Xception_conv2d_246[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_24 (None, 35, 35, 32)   96          Xception_conv2d_248[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_25 (None, 35, 35, 64)   192         Xception_conv2d_251[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_43 (None, 35, 35, 32)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_45 (None, 35, 35, 32)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_48 (None, 35, 35, 64)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_246 (Activa (None, 35, 35, 32)   0           Xception_batch_normalization_246[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_248 (Activa (None, 35, 35, 32)   0           Xception_batch_normalization_248[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_251 (Activa (None, 35, 35, 64)   0           Xception_batch_normalization_251[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block35_6_mix (None, 35, 35, 128)  0           InceptionResNetV2_activation_43[0\n",
      "                                                                 InceptionResNetV2_activation_45[0\n",
      "                                                                 InceptionResNetV2_activation_48[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block35_6_mixed (Conca (None, 35, 35, 128)  0           Xception_activation_246[0][0]    \n",
      "                                                                 Xception_activation_248[0][0]    \n",
      "                                                                 Xception_activation_251[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block35_6_con (None, 35, 35, 320)  41280       InceptionResNetV2_block35_6_mixed\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block35_6_conv (Conv2D (None, 35, 35, 320)  41280       Xception_block35_6_mixed[0][0]   \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block35_6 (La (None, 35, 35, 320)  0           InceptionResNetV2_block35_5_ac[0]\n",
      "                                                                 InceptionResNetV2_block35_6_conv[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block35_6 (Lambda)     (None, 35, 35, 320)  0           Xception_block35_5_ac[0][0]      \n",
      "                                                                 Xception_block35_6_conv[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block35_6_ac  (None, 35, 35, 320)  0           InceptionResNetV2_block35_6[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block35_6_ac (Activati (None, 35, 35, 320)  0           Xception_block35_6[0][0]         \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_52 (Co (None, 35, 35, 32)   10240       InceptionResNetV2_block35_6_ac[0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_255 (Conv2D)    (None, 35, 35, 32)   10240       Xception_block35_6_ac[0][0]      \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 32)   96          InceptionResNetV2_conv2d_52[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_25 (None, 35, 35, 32)   96          Xception_conv2d_255[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_52 (None, 35, 35, 32)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_255 (Activa (None, 35, 35, 32)   0           Xception_batch_normalization_255[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_50 (Co (None, 35, 35, 32)   10240       InceptionResNetV2_block35_6_ac[0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_53 (Co (None, 35, 35, 48)   13824       InceptionResNetV2_activation_52[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_253 (Conv2D)    (None, 35, 35, 32)   10240       Xception_block35_6_ac[0][0]      \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_256 (Conv2D)    (None, 35, 35, 48)   13824       Xception_activation_255[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 32)   96          InceptionResNetV2_conv2d_50[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 48)   144         InceptionResNetV2_conv2d_53[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_25 (None, 35, 35, 32)   96          Xception_conv2d_253[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_25 (None, 35, 35, 48)   144         Xception_conv2d_256[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_50 (None, 35, 35, 32)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_53 (None, 35, 35, 48)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_253 (Activa (None, 35, 35, 32)   0           Xception_batch_normalization_253[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_256 (Activa (None, 35, 35, 48)   0           Xception_batch_normalization_256[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_49 (Co (None, 35, 35, 32)   10240       InceptionResNetV2_block35_6_ac[0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_51 (Co (None, 35, 35, 32)   9216        InceptionResNetV2_activation_50[0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_54 (Co (None, 35, 35, 64)   27648       InceptionResNetV2_activation_53[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_252 (Conv2D)    (None, 35, 35, 32)   10240       Xception_block35_6_ac[0][0]      \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_254 (Conv2D)    (None, 35, 35, 32)   9216        Xception_activation_253[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_257 (Conv2D)    (None, 35, 35, 64)   27648       Xception_activation_256[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 32)   96          InceptionResNetV2_conv2d_49[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 32)   96          InceptionResNetV2_conv2d_51[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 64)   192         InceptionResNetV2_conv2d_54[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_25 (None, 35, 35, 32)   96          Xception_conv2d_252[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_25 (None, 35, 35, 32)   96          Xception_conv2d_254[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_25 (None, 35, 35, 64)   192         Xception_conv2d_257[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_49 (None, 35, 35, 32)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_51 (None, 35, 35, 32)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_54 (None, 35, 35, 64)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_252 (Activa (None, 35, 35, 32)   0           Xception_batch_normalization_252[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_254 (Activa (None, 35, 35, 32)   0           Xception_batch_normalization_254[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_257 (Activa (None, 35, 35, 64)   0           Xception_batch_normalization_257[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block35_7_mix (None, 35, 35, 128)  0           InceptionResNetV2_activation_49[0\n",
      "                                                                 InceptionResNetV2_activation_51[0\n",
      "                                                                 InceptionResNetV2_activation_54[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block35_7_mixed (Conca (None, 35, 35, 128)  0           Xception_activation_252[0][0]    \n",
      "                                                                 Xception_activation_254[0][0]    \n",
      "                                                                 Xception_activation_257[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block35_7_con (None, 35, 35, 320)  41280       InceptionResNetV2_block35_7_mixed\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block35_7_conv (Conv2D (None, 35, 35, 320)  41280       Xception_block35_7_mixed[0][0]   \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block35_7 (La (None, 35, 35, 320)  0           InceptionResNetV2_block35_6_ac[0]\n",
      "                                                                 InceptionResNetV2_block35_7_conv[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block35_7 (Lambda)     (None, 35, 35, 320)  0           Xception_block35_6_ac[0][0]      \n",
      "                                                                 Xception_block35_7_conv[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block35_7_ac  (None, 35, 35, 320)  0           InceptionResNetV2_block35_7[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block35_7_ac (Activati (None, 35, 35, 320)  0           Xception_block35_7[0][0]         \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_58 (Co (None, 35, 35, 32)   10240       InceptionResNetV2_block35_7_ac[0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_261 (Conv2D)    (None, 35, 35, 32)   10240       Xception_block35_7_ac[0][0]      \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 32)   96          InceptionResNetV2_conv2d_58[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_26 (None, 35, 35, 32)   96          Xception_conv2d_261[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_58 (None, 35, 35, 32)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_261 (Activa (None, 35, 35, 32)   0           Xception_batch_normalization_261[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_56 (Co (None, 35, 35, 32)   10240       InceptionResNetV2_block35_7_ac[0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_59 (Co (None, 35, 35, 48)   13824       InceptionResNetV2_activation_58[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_259 (Conv2D)    (None, 35, 35, 32)   10240       Xception_block35_7_ac[0][0]      \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_262 (Conv2D)    (None, 35, 35, 48)   13824       Xception_activation_261[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 32)   96          InceptionResNetV2_conv2d_56[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 48)   144         InceptionResNetV2_conv2d_59[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_25 (None, 35, 35, 32)   96          Xception_conv2d_259[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_26 (None, 35, 35, 48)   144         Xception_conv2d_262[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_56 (None, 35, 35, 32)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_59 (None, 35, 35, 48)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_259 (Activa (None, 35, 35, 32)   0           Xception_batch_normalization_259[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_262 (Activa (None, 35, 35, 48)   0           Xception_batch_normalization_262[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_55 (Co (None, 35, 35, 32)   10240       InceptionResNetV2_block35_7_ac[0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_57 (Co (None, 35, 35, 32)   9216        InceptionResNetV2_activation_56[0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_60 (Co (None, 35, 35, 64)   27648       InceptionResNetV2_activation_59[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_258 (Conv2D)    (None, 35, 35, 32)   10240       Xception_block35_7_ac[0][0]      \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_260 (Conv2D)    (None, 35, 35, 32)   9216        Xception_activation_259[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_263 (Conv2D)    (None, 35, 35, 64)   27648       Xception_activation_262[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 32)   96          InceptionResNetV2_conv2d_55[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 32)   96          InceptionResNetV2_conv2d_57[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 64)   192         InceptionResNetV2_conv2d_60[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_25 (None, 35, 35, 32)   96          Xception_conv2d_258[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_26 (None, 35, 35, 32)   96          Xception_conv2d_260[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_26 (None, 35, 35, 64)   192         Xception_conv2d_263[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_55 (None, 35, 35, 32)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_57 (None, 35, 35, 32)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_60 (None, 35, 35, 64)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_258 (Activa (None, 35, 35, 32)   0           Xception_batch_normalization_258[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_260 (Activa (None, 35, 35, 32)   0           Xception_batch_normalization_260[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_263 (Activa (None, 35, 35, 64)   0           Xception_batch_normalization_263[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block35_8_mix (None, 35, 35, 128)  0           InceptionResNetV2_activation_55[0\n",
      "                                                                 InceptionResNetV2_activation_57[0\n",
      "                                                                 InceptionResNetV2_activation_60[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block35_8_mixed (Conca (None, 35, 35, 128)  0           Xception_activation_258[0][0]    \n",
      "                                                                 Xception_activation_260[0][0]    \n",
      "                                                                 Xception_activation_263[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block35_8_con (None, 35, 35, 320)  41280       InceptionResNetV2_block35_8_mixed\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block35_8_conv (Conv2D (None, 35, 35, 320)  41280       Xception_block35_8_mixed[0][0]   \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block35_8 (La (None, 35, 35, 320)  0           InceptionResNetV2_block35_7_ac[0]\n",
      "                                                                 InceptionResNetV2_block35_8_conv[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block35_8 (Lambda)     (None, 35, 35, 320)  0           Xception_block35_7_ac[0][0]      \n",
      "                                                                 Xception_block35_8_conv[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block35_8_ac  (None, 35, 35, 320)  0           InceptionResNetV2_block35_8[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block35_8_ac (Activati (None, 35, 35, 320)  0           Xception_block35_8[0][0]         \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_64 (Co (None, 35, 35, 32)   10240       InceptionResNetV2_block35_8_ac[0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_267 (Conv2D)    (None, 35, 35, 32)   10240       Xception_block35_8_ac[0][0]      \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 32)   96          InceptionResNetV2_conv2d_64[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_26 (None, 35, 35, 32)   96          Xception_conv2d_267[0][0]        \n",
      "__________________________________________________________________________________________________\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "InceptionResNetV2_activation_64 (None, 35, 35, 32)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_267 (Activa (None, 35, 35, 32)   0           Xception_batch_normalization_267[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_62 (Co (None, 35, 35, 32)   10240       InceptionResNetV2_block35_8_ac[0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_65 (Co (None, 35, 35, 48)   13824       InceptionResNetV2_activation_64[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_265 (Conv2D)    (None, 35, 35, 32)   10240       Xception_block35_8_ac[0][0]      \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_268 (Conv2D)    (None, 35, 35, 48)   13824       Xception_activation_267[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 32)   96          InceptionResNetV2_conv2d_62[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 48)   144         InceptionResNetV2_conv2d_65[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_26 (None, 35, 35, 32)   96          Xception_conv2d_265[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_26 (None, 35, 35, 48)   144         Xception_conv2d_268[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_62 (None, 35, 35, 32)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_65 (None, 35, 35, 48)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_265 (Activa (None, 35, 35, 32)   0           Xception_batch_normalization_265[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_268 (Activa (None, 35, 35, 48)   0           Xception_batch_normalization_268[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_61 (Co (None, 35, 35, 32)   10240       InceptionResNetV2_block35_8_ac[0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_63 (Co (None, 35, 35, 32)   9216        InceptionResNetV2_activation_62[0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_66 (Co (None, 35, 35, 64)   27648       InceptionResNetV2_activation_65[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_264 (Conv2D)    (None, 35, 35, 32)   10240       Xception_block35_8_ac[0][0]      \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_266 (Conv2D)    (None, 35, 35, 32)   9216        Xception_activation_265[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_269 (Conv2D)    (None, 35, 35, 64)   27648       Xception_activation_268[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 32)   96          InceptionResNetV2_conv2d_61[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 32)   96          InceptionResNetV2_conv2d_63[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 64)   192         InceptionResNetV2_conv2d_66[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_26 (None, 35, 35, 32)   96          Xception_conv2d_264[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_26 (None, 35, 35, 32)   96          Xception_conv2d_266[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_26 (None, 35, 35, 64)   192         Xception_conv2d_269[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_61 (None, 35, 35, 32)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_63 (None, 35, 35, 32)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_66 (None, 35, 35, 64)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_264 (Activa (None, 35, 35, 32)   0           Xception_batch_normalization_264[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_266 (Activa (None, 35, 35, 32)   0           Xception_batch_normalization_266[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_269 (Activa (None, 35, 35, 64)   0           Xception_batch_normalization_269[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block35_9_mix (None, 35, 35, 128)  0           InceptionResNetV2_activation_61[0\n",
      "                                                                 InceptionResNetV2_activation_63[0\n",
      "                                                                 InceptionResNetV2_activation_66[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block35_9_mixed (Conca (None, 35, 35, 128)  0           Xception_activation_264[0][0]    \n",
      "                                                                 Xception_activation_266[0][0]    \n",
      "                                                                 Xception_activation_269[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block35_9_con (None, 35, 35, 320)  41280       InceptionResNetV2_block35_9_mixed\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block35_9_conv (Conv2D (None, 35, 35, 320)  41280       Xception_block35_9_mixed[0][0]   \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block35_9 (La (None, 35, 35, 320)  0           InceptionResNetV2_block35_8_ac[0]\n",
      "                                                                 InceptionResNetV2_block35_9_conv[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block35_9 (Lambda)     (None, 35, 35, 320)  0           Xception_block35_8_ac[0][0]      \n",
      "                                                                 Xception_block35_9_conv[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block35_9_ac  (None, 35, 35, 320)  0           InceptionResNetV2_block35_9[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block35_9_ac (Activati (None, 35, 35, 320)  0           Xception_block35_9[0][0]         \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_70 (Co (None, 35, 35, 32)   10240       InceptionResNetV2_block35_9_ac[0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_273 (Conv2D)    (None, 35, 35, 32)   10240       Xception_block35_9_ac[0][0]      \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 32)   96          InceptionResNetV2_conv2d_70[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_27 (None, 35, 35, 32)   96          Xception_conv2d_273[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_70 (None, 35, 35, 32)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_273 (Activa (None, 35, 35, 32)   0           Xception_batch_normalization_273[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_68 (Co (None, 35, 35, 32)   10240       InceptionResNetV2_block35_9_ac[0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_71 (Co (None, 35, 35, 48)   13824       InceptionResNetV2_activation_70[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_271 (Conv2D)    (None, 35, 35, 32)   10240       Xception_block35_9_ac[0][0]      \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_274 (Conv2D)    (None, 35, 35, 48)   13824       Xception_activation_273[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 32)   96          InceptionResNetV2_conv2d_68[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 48)   144         InceptionResNetV2_conv2d_71[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_27 (None, 35, 35, 32)   96          Xception_conv2d_271[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_27 (None, 35, 35, 48)   144         Xception_conv2d_274[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_68 (None, 35, 35, 32)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_71 (None, 35, 35, 48)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_271 (Activa (None, 35, 35, 32)   0           Xception_batch_normalization_271[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_274 (Activa (None, 35, 35, 48)   0           Xception_batch_normalization_274[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_67 (Co (None, 35, 35, 32)   10240       InceptionResNetV2_block35_9_ac[0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_69 (Co (None, 35, 35, 32)   9216        InceptionResNetV2_activation_68[0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_72 (Co (None, 35, 35, 64)   27648       InceptionResNetV2_activation_71[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_270 (Conv2D)    (None, 35, 35, 32)   10240       Xception_block35_9_ac[0][0]      \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_272 (Conv2D)    (None, 35, 35, 32)   9216        Xception_activation_271[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_275 (Conv2D)    (None, 35, 35, 64)   27648       Xception_activation_274[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 32)   96          InceptionResNetV2_conv2d_67[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 32)   96          InceptionResNetV2_conv2d_69[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 64)   192         InceptionResNetV2_conv2d_72[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_27 (None, 35, 35, 32)   96          Xception_conv2d_270[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_27 (None, 35, 35, 32)   96          Xception_conv2d_272[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_27 (None, 35, 35, 64)   192         Xception_conv2d_275[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_67 (None, 35, 35, 32)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_69 (None, 35, 35, 32)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_72 (None, 35, 35, 64)   0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_270 (Activa (None, 35, 35, 32)   0           Xception_batch_normalization_270[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_272 (Activa (None, 35, 35, 32)   0           Xception_batch_normalization_272[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_275 (Activa (None, 35, 35, 64)   0           Xception_batch_normalization_275[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block35_10_mi (None, 35, 35, 128)  0           InceptionResNetV2_activation_67[0\n",
      "                                                                 InceptionResNetV2_activation_69[0\n",
      "                                                                 InceptionResNetV2_activation_72[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block35_10_mixed (Conc (None, 35, 35, 128)  0           Xception_activation_270[0][0]    \n",
      "                                                                 Xception_activation_272[0][0]    \n",
      "                                                                 Xception_activation_275[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block35_10_co (None, 35, 35, 320)  41280       InceptionResNetV2_block35_10_mixe\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block35_10_conv (Conv2 (None, 35, 35, 320)  41280       Xception_block35_10_mixed[0][0]  \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block35_10 (L (None, 35, 35, 320)  0           InceptionResNetV2_block35_9_ac[0]\n",
      "                                                                 InceptionResNetV2_block35_10_conv\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block35_10 (Lambda)    (None, 35, 35, 320)  0           Xception_block35_9_ac[0][0]      \n",
      "                                                                 Xception_block35_10_conv[0][0]   \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block35_10_ac (None, 35, 35, 320)  0           InceptionResNetV2_block35_10[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block35_10_ac (Activat (None, 35, 35, 320)  0           Xception_block35_10[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_74 (Co (None, 35, 35, 256)  81920       InceptionResNetV2_block35_10_ac[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_277 (Conv2D)    (None, 35, 35, 256)  81920       Xception_block35_10_ac[0][0]     \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 256)  768         InceptionResNetV2_conv2d_74[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_27 (None, 35, 35, 256)  768         Xception_conv2d_277[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_74 (None, 35, 35, 256)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_277 (Activa (None, 35, 35, 256)  0           Xception_batch_normalization_277[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_75 (Co (None, 35, 35, 256)  589824      InceptionResNetV2_activation_74[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_278 (Conv2D)    (None, 35, 35, 256)  589824      Xception_activation_277[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 35, 35, 256)  768         InceptionResNetV2_conv2d_75[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_27 (None, 35, 35, 256)  768         Xception_conv2d_278[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_75 (None, 35, 35, 256)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_278 (Activa (None, 35, 35, 256)  0           Xception_batch_normalization_278[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_73 (Co (None, 17, 17, 384)  1105920     InceptionResNetV2_block35_10_ac[0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_76 (Co (None, 17, 17, 384)  884736      InceptionResNetV2_activation_75[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_276 (Conv2D)    (None, 17, 17, 384)  1105920     Xception_block35_10_ac[0][0]     \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_279 (Conv2D)    (None, 17, 17, 384)  884736      Xception_activation_278[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 384)  1152        InceptionResNetV2_conv2d_73[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 384)  1152        InceptionResNetV2_conv2d_76[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_27 (None, 17, 17, 384)  1152        Xception_conv2d_276[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_27 (None, 17, 17, 384)  1152        Xception_conv2d_279[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_73 (None, 17, 17, 384)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_76 (None, 17, 17, 384)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_max_pooling2d (None, 17, 17, 320)  0           InceptionResNetV2_block35_10_ac[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_276 (Activa (None, 17, 17, 384)  0           Xception_batch_normalization_276[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_279 (Activa (None, 17, 17, 384)  0           Xception_batch_normalization_279[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_max_pooling2d_7 (MaxPo (None, 17, 17, 320)  0           Xception_block35_10_ac[0][0]     \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_mixed_6a (Con (None, 17, 17, 1088) 0           InceptionResNetV2_activation_73[0\n",
      "                                                                 InceptionResNetV2_activation_76[0\n",
      "                                                                 InceptionResNetV2_max_pooling2d_3\n",
      "__________________________________________________________________________________________________\n",
      "Xception_mixed_6a (Concatenate) (None, 17, 17, 1088) 0           Xception_activation_276[0][0]    \n",
      "                                                                 Xception_activation_279[0][0]    \n",
      "                                                                 Xception_max_pooling2d_7[0][0]   \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_78 (Co (None, 17, 17, 128)  139264      InceptionResNetV2_mixed_6a[0][0] \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_281 (Conv2D)    (None, 17, 17, 128)  139264      Xception_mixed_6a[0][0]          \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 128)  384         InceptionResNetV2_conv2d_78[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_28 (None, 17, 17, 128)  384         Xception_conv2d_281[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_78 (None, 17, 17, 128)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_281 (Activa (None, 17, 17, 128)  0           Xception_batch_normalization_281[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_79 (Co (None, 17, 17, 160)  143360      InceptionResNetV2_activation_78[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_282 (Conv2D)    (None, 17, 17, 160)  143360      Xception_activation_281[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 160)  480         InceptionResNetV2_conv2d_79[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_28 (None, 17, 17, 160)  480         Xception_conv2d_282[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_79 (None, 17, 17, 160)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_282 (Activa (None, 17, 17, 160)  0           Xception_batch_normalization_282[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_77 (Co (None, 17, 17, 192)  208896      InceptionResNetV2_mixed_6a[0][0] \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_80 (Co (None, 17, 17, 192)  215040      InceptionResNetV2_activation_79[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_280 (Conv2D)    (None, 17, 17, 192)  208896      Xception_mixed_6a[0][0]          \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_283 (Conv2D)    (None, 17, 17, 192)  215040      Xception_activation_282[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 192)  576         InceptionResNetV2_conv2d_77[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 192)  576         InceptionResNetV2_conv2d_80[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_28 (None, 17, 17, 192)  576         Xception_conv2d_280[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_28 (None, 17, 17, 192)  576         Xception_conv2d_283[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_77 (None, 17, 17, 192)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_80 (None, 17, 17, 192)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_280 (Activa (None, 17, 17, 192)  0           Xception_batch_normalization_280[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_283 (Activa (None, 17, 17, 192)  0           Xception_batch_normalization_283[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_1_mix (None, 17, 17, 384)  0           InceptionResNetV2_activation_77[0\n",
      "                                                                 InceptionResNetV2_activation_80[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_1_mixed (Conca (None, 17, 17, 384)  0           Xception_activation_280[0][0]    \n",
      "                                                                 Xception_activation_283[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_1_con (None, 17, 17, 1088) 418880      InceptionResNetV2_block17_1_mixed\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_1_conv (Conv2D (None, 17, 17, 1088) 418880      Xception_block17_1_mixed[0][0]   \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_1 (La (None, 17, 17, 1088) 0           InceptionResNetV2_mixed_6a[0][0] \n",
      "                                                                 InceptionResNetV2_block17_1_conv[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_1 (Lambda)     (None, 17, 17, 1088) 0           Xception_mixed_6a[0][0]          \n",
      "                                                                 Xception_block17_1_conv[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_1_ac  (None, 17, 17, 1088) 0           InceptionResNetV2_block17_1[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_1_ac (Activati (None, 17, 17, 1088) 0           Xception_block17_1[0][0]         \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_82 (Co (None, 17, 17, 128)  139264      InceptionResNetV2_block17_1_ac[0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_285 (Conv2D)    (None, 17, 17, 128)  139264      Xception_block17_1_ac[0][0]      \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 128)  384         InceptionResNetV2_conv2d_82[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_28 (None, 17, 17, 128)  384         Xception_conv2d_285[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_82 (None, 17, 17, 128)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_285 (Activa (None, 17, 17, 128)  0           Xception_batch_normalization_285[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_83 (Co (None, 17, 17, 160)  143360      InceptionResNetV2_activation_82[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_286 (Conv2D)    (None, 17, 17, 160)  143360      Xception_activation_285[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 160)  480         InceptionResNetV2_conv2d_83[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_28 (None, 17, 17, 160)  480         Xception_conv2d_286[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_83 (None, 17, 17, 160)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_286 (Activa (None, 17, 17, 160)  0           Xception_batch_normalization_286[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_81 (Co (None, 17, 17, 192)  208896      InceptionResNetV2_block17_1_ac[0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_84 (Co (None, 17, 17, 192)  215040      InceptionResNetV2_activation_83[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_284 (Conv2D)    (None, 17, 17, 192)  208896      Xception_block17_1_ac[0][0]      \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_287 (Conv2D)    (None, 17, 17, 192)  215040      Xception_activation_286[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 192)  576         InceptionResNetV2_conv2d_81[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 192)  576         InceptionResNetV2_conv2d_84[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_28 (None, 17, 17, 192)  576         Xception_conv2d_284[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_28 (None, 17, 17, 192)  576         Xception_conv2d_287[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_81 (None, 17, 17, 192)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_84 (None, 17, 17, 192)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_284 (Activa (None, 17, 17, 192)  0           Xception_batch_normalization_284[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_287 (Activa (None, 17, 17, 192)  0           Xception_batch_normalization_287[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_2_mix (None, 17, 17, 384)  0           InceptionResNetV2_activation_81[0\n",
      "                                                                 InceptionResNetV2_activation_84[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_2_mixed (Conca (None, 17, 17, 384)  0           Xception_activation_284[0][0]    \n",
      "                                                                 Xception_activation_287[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_2_con (None, 17, 17, 1088) 418880      InceptionResNetV2_block17_2_mixed\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_2_conv (Conv2D (None, 17, 17, 1088) 418880      Xception_block17_2_mixed[0][0]   \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_2 (La (None, 17, 17, 1088) 0           InceptionResNetV2_block17_1_ac[0]\n",
      "                                                                 InceptionResNetV2_block17_2_conv[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_2 (Lambda)     (None, 17, 17, 1088) 0           Xception_block17_1_ac[0][0]      \n",
      "                                                                 Xception_block17_2_conv[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_2_ac  (None, 17, 17, 1088) 0           InceptionResNetV2_block17_2[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_2_ac (Activati (None, 17, 17, 1088) 0           Xception_block17_2[0][0]         \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_86 (Co (None, 17, 17, 128)  139264      InceptionResNetV2_block17_2_ac[0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_289 (Conv2D)    (None, 17, 17, 128)  139264      Xception_block17_2_ac[0][0]      \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 128)  384         InceptionResNetV2_conv2d_86[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_28 (None, 17, 17, 128)  384         Xception_conv2d_289[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_86 (None, 17, 17, 128)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_289 (Activa (None, 17, 17, 128)  0           Xception_batch_normalization_289[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_87 (Co (None, 17, 17, 160)  143360      InceptionResNetV2_activation_86[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_290 (Conv2D)    (None, 17, 17, 160)  143360      Xception_activation_289[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 160)  480         InceptionResNetV2_conv2d_87[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_29 (None, 17, 17, 160)  480         Xception_conv2d_290[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_87 (None, 17, 17, 160)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_290 (Activa (None, 17, 17, 160)  0           Xception_batch_normalization_290[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_85 (Co (None, 17, 17, 192)  208896      InceptionResNetV2_block17_2_ac[0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_88 (Co (None, 17, 17, 192)  215040      InceptionResNetV2_activation_87[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_288 (Conv2D)    (None, 17, 17, 192)  208896      Xception_block17_2_ac[0][0]      \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_291 (Conv2D)    (None, 17, 17, 192)  215040      Xception_activation_290[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 192)  576         InceptionResNetV2_conv2d_85[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 192)  576         InceptionResNetV2_conv2d_88[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_28 (None, 17, 17, 192)  576         Xception_conv2d_288[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_29 (None, 17, 17, 192)  576         Xception_conv2d_291[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_85 (None, 17, 17, 192)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_88 (None, 17, 17, 192)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_288 (Activa (None, 17, 17, 192)  0           Xception_batch_normalization_288[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_291 (Activa (None, 17, 17, 192)  0           Xception_batch_normalization_291[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_3_mix (None, 17, 17, 384)  0           InceptionResNetV2_activation_85[0\n",
      "                                                                 InceptionResNetV2_activation_88[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_3_mixed (Conca (None, 17, 17, 384)  0           Xception_activation_288[0][0]    \n",
      "                                                                 Xception_activation_291[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_3_con (None, 17, 17, 1088) 418880      InceptionResNetV2_block17_3_mixed\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_3_conv (Conv2D (None, 17, 17, 1088) 418880      Xception_block17_3_mixed[0][0]   \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_3 (La (None, 17, 17, 1088) 0           InceptionResNetV2_block17_2_ac[0]\n",
      "                                                                 InceptionResNetV2_block17_3_conv[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_3 (Lambda)     (None, 17, 17, 1088) 0           Xception_block17_2_ac[0][0]      \n",
      "                                                                 Xception_block17_3_conv[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_3_ac  (None, 17, 17, 1088) 0           InceptionResNetV2_block17_3[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_3_ac (Activati (None, 17, 17, 1088) 0           Xception_block17_3[0][0]         \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_90 (Co (None, 17, 17, 128)  139264      InceptionResNetV2_block17_3_ac[0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_293 (Conv2D)    (None, 17, 17, 128)  139264      Xception_block17_3_ac[0][0]      \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 128)  384         InceptionResNetV2_conv2d_90[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_29 (None, 17, 17, 128)  384         Xception_conv2d_293[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_90 (None, 17, 17, 128)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_293 (Activa (None, 17, 17, 128)  0           Xception_batch_normalization_293[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_91 (Co (None, 17, 17, 160)  143360      InceptionResNetV2_activation_90[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_294 (Conv2D)    (None, 17, 17, 160)  143360      Xception_activation_293[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 160)  480         InceptionResNetV2_conv2d_91[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_29 (None, 17, 17, 160)  480         Xception_conv2d_294[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_91 (None, 17, 17, 160)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_294 (Activa (None, 17, 17, 160)  0           Xception_batch_normalization_294[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_89 (Co (None, 17, 17, 192)  208896      InceptionResNetV2_block17_3_ac[0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_92 (Co (None, 17, 17, 192)  215040      InceptionResNetV2_activation_91[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_292 (Conv2D)    (None, 17, 17, 192)  208896      Xception_block17_3_ac[0][0]      \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_295 (Conv2D)    (None, 17, 17, 192)  215040      Xception_activation_294[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 192)  576         InceptionResNetV2_conv2d_89[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 192)  576         InceptionResNetV2_conv2d_92[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_29 (None, 17, 17, 192)  576         Xception_conv2d_292[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_29 (None, 17, 17, 192)  576         Xception_conv2d_295[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_89 (None, 17, 17, 192)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_92 (None, 17, 17, 192)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_292 (Activa (None, 17, 17, 192)  0           Xception_batch_normalization_292[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_295 (Activa (None, 17, 17, 192)  0           Xception_batch_normalization_295[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_4_mix (None, 17, 17, 384)  0           InceptionResNetV2_activation_89[0\n",
      "                                                                 InceptionResNetV2_activation_92[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_4_mixed (Conca (None, 17, 17, 384)  0           Xception_activation_292[0][0]    \n",
      "                                                                 Xception_activation_295[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_4_con (None, 17, 17, 1088) 418880      InceptionResNetV2_block17_4_mixed\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_4_conv (Conv2D (None, 17, 17, 1088) 418880      Xception_block17_4_mixed[0][0]   \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_4 (La (None, 17, 17, 1088) 0           InceptionResNetV2_block17_3_ac[0]\n",
      "                                                                 InceptionResNetV2_block17_4_conv[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_4 (Lambda)     (None, 17, 17, 1088) 0           Xception_block17_3_ac[0][0]      \n",
      "                                                                 Xception_block17_4_conv[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_4_ac  (None, 17, 17, 1088) 0           InceptionResNetV2_block17_4[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_4_ac (Activati (None, 17, 17, 1088) 0           Xception_block17_4[0][0]         \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_94 (Co (None, 17, 17, 128)  139264      InceptionResNetV2_block17_4_ac[0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_297 (Conv2D)    (None, 17, 17, 128)  139264      Xception_block17_4_ac[0][0]      \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 128)  384         InceptionResNetV2_conv2d_94[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_29 (None, 17, 17, 128)  384         Xception_conv2d_297[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_94 (None, 17, 17, 128)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_297 (Activa (None, 17, 17, 128)  0           Xception_batch_normalization_297[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_95 (Co (None, 17, 17, 160)  143360      InceptionResNetV2_activation_94[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_298 (Conv2D)    (None, 17, 17, 160)  143360      Xception_activation_297[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 160)  480         InceptionResNetV2_conv2d_95[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_29 (None, 17, 17, 160)  480         Xception_conv2d_298[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_95 (None, 17, 17, 160)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_298 (Activa (None, 17, 17, 160)  0           Xception_batch_normalization_298[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_93 (Co (None, 17, 17, 192)  208896      InceptionResNetV2_block17_4_ac[0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_96 (Co (None, 17, 17, 192)  215040      InceptionResNetV2_activation_95[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_296 (Conv2D)    (None, 17, 17, 192)  208896      Xception_block17_4_ac[0][0]      \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_299 (Conv2D)    (None, 17, 17, 192)  215040      Xception_activation_298[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 192)  576         InceptionResNetV2_conv2d_93[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 192)  576         InceptionResNetV2_conv2d_96[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_29 (None, 17, 17, 192)  576         Xception_conv2d_296[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_29 (None, 17, 17, 192)  576         Xception_conv2d_299[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_93 (None, 17, 17, 192)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_96 (None, 17, 17, 192)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_296 (Activa (None, 17, 17, 192)  0           Xception_batch_normalization_296[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_299 (Activa (None, 17, 17, 192)  0           Xception_batch_normalization_299[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_5_mix (None, 17, 17, 384)  0           InceptionResNetV2_activation_93[0\n",
      "                                                                 InceptionResNetV2_activation_96[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_5_mixed (Conca (None, 17, 17, 384)  0           Xception_activation_296[0][0]    \n",
      "                                                                 Xception_activation_299[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_5_con (None, 17, 17, 1088) 418880      InceptionResNetV2_block17_5_mixed\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_5_conv (Conv2D (None, 17, 17, 1088) 418880      Xception_block17_5_mixed[0][0]   \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_5 (La (None, 17, 17, 1088) 0           InceptionResNetV2_block17_4_ac[0]\n",
      "                                                                 InceptionResNetV2_block17_5_conv[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_5 (Lambda)     (None, 17, 17, 1088) 0           Xception_block17_4_ac[0][0]      \n",
      "                                                                 Xception_block17_5_conv[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_5_ac  (None, 17, 17, 1088) 0           InceptionResNetV2_block17_5[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_5_ac (Activati (None, 17, 17, 1088) 0           Xception_block17_5[0][0]         \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_98 (Co (None, 17, 17, 128)  139264      InceptionResNetV2_block17_5_ac[0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_301 (Conv2D)    (None, 17, 17, 128)  139264      Xception_block17_5_ac[0][0]      \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 128)  384         InceptionResNetV2_conv2d_98[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_30 (None, 17, 17, 128)  384         Xception_conv2d_301[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_98 (None, 17, 17, 128)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_301 (Activa (None, 17, 17, 128)  0           Xception_batch_normalization_301[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_99 (Co (None, 17, 17, 160)  143360      InceptionResNetV2_activation_98[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_302 (Conv2D)    (None, 17, 17, 160)  143360      Xception_activation_301[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 160)  480         InceptionResNetV2_conv2d_99[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_30 (None, 17, 17, 160)  480         Xception_conv2d_302[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_99 (None, 17, 17, 160)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_302 (Activa (None, 17, 17, 160)  0           Xception_batch_normalization_302[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_97 (Co (None, 17, 17, 192)  208896      InceptionResNetV2_block17_5_ac[0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_100 (C (None, 17, 17, 192)  215040      InceptionResNetV2_activation_99[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_300 (Conv2D)    (None, 17, 17, 192)  208896      Xception_block17_5_ac[0][0]      \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_303 (Conv2D)    (None, 17, 17, 192)  215040      Xception_activation_302[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 192)  576         InceptionResNetV2_conv2d_97[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 192)  576         InceptionResNetV2_conv2d_100[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_30 (None, 17, 17, 192)  576         Xception_conv2d_300[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_30 (None, 17, 17, 192)  576         Xception_conv2d_303[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_97 (None, 17, 17, 192)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_10 (None, 17, 17, 192)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_300 (Activa (None, 17, 17, 192)  0           Xception_batch_normalization_300[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_303 (Activa (None, 17, 17, 192)  0           Xception_batch_normalization_303[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_6_mix (None, 17, 17, 384)  0           InceptionResNetV2_activation_97[0\n",
      "                                                                 InceptionResNetV2_activation_100[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_6_mixed (Conca (None, 17, 17, 384)  0           Xception_activation_300[0][0]    \n",
      "                                                                 Xception_activation_303[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_6_con (None, 17, 17, 1088) 418880      InceptionResNetV2_block17_6_mixed\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_6_conv (Conv2D (None, 17, 17, 1088) 418880      Xception_block17_6_mixed[0][0]   \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_6 (La (None, 17, 17, 1088) 0           InceptionResNetV2_block17_5_ac[0]\n",
      "                                                                 InceptionResNetV2_block17_6_conv[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_6 (Lambda)     (None, 17, 17, 1088) 0           Xception_block17_5_ac[0][0]      \n",
      "                                                                 Xception_block17_6_conv[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_6_ac  (None, 17, 17, 1088) 0           InceptionResNetV2_block17_6[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_6_ac (Activati (None, 17, 17, 1088) 0           Xception_block17_6[0][0]         \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_102 (C (None, 17, 17, 128)  139264      InceptionResNetV2_block17_6_ac[0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_305 (Conv2D)    (None, 17, 17, 128)  139264      Xception_block17_6_ac[0][0]      \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 128)  384         InceptionResNetV2_conv2d_102[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_30 (None, 17, 17, 128)  384         Xception_conv2d_305[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_10 (None, 17, 17, 128)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_305 (Activa (None, 17, 17, 128)  0           Xception_batch_normalization_305[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_103 (C (None, 17, 17, 160)  143360      InceptionResNetV2_activation_102[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_306 (Conv2D)    (None, 17, 17, 160)  143360      Xception_activation_305[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 160)  480         InceptionResNetV2_conv2d_103[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_30 (None, 17, 17, 160)  480         Xception_conv2d_306[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_10 (None, 17, 17, 160)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_306 (Activa (None, 17, 17, 160)  0           Xception_batch_normalization_306[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_101 (C (None, 17, 17, 192)  208896      InceptionResNetV2_block17_6_ac[0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_104 (C (None, 17, 17, 192)  215040      InceptionResNetV2_activation_103[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_304 (Conv2D)    (None, 17, 17, 192)  208896      Xception_block17_6_ac[0][0]      \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_307 (Conv2D)    (None, 17, 17, 192)  215040      Xception_activation_306[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 192)  576         InceptionResNetV2_conv2d_101[0][0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 192)  576         InceptionResNetV2_conv2d_104[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_30 (None, 17, 17, 192)  576         Xception_conv2d_304[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_30 (None, 17, 17, 192)  576         Xception_conv2d_307[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_10 (None, 17, 17, 192)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_10 (None, 17, 17, 192)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_304 (Activa (None, 17, 17, 192)  0           Xception_batch_normalization_304[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_307 (Activa (None, 17, 17, 192)  0           Xception_batch_normalization_307[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_7_mix (None, 17, 17, 384)  0           InceptionResNetV2_activation_101[\n",
      "                                                                 InceptionResNetV2_activation_104[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_7_mixed (Conca (None, 17, 17, 384)  0           Xception_activation_304[0][0]    \n",
      "                                                                 Xception_activation_307[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_7_con (None, 17, 17, 1088) 418880      InceptionResNetV2_block17_7_mixed\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_7_conv (Conv2D (None, 17, 17, 1088) 418880      Xception_block17_7_mixed[0][0]   \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_7 (La (None, 17, 17, 1088) 0           InceptionResNetV2_block17_6_ac[0]\n",
      "                                                                 InceptionResNetV2_block17_7_conv[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_7 (Lambda)     (None, 17, 17, 1088) 0           Xception_block17_6_ac[0][0]      \n",
      "                                                                 Xception_block17_7_conv[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_7_ac  (None, 17, 17, 1088) 0           InceptionResNetV2_block17_7[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_7_ac (Activati (None, 17, 17, 1088) 0           Xception_block17_7[0][0]         \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_106 (C (None, 17, 17, 128)  139264      InceptionResNetV2_block17_7_ac[0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_309 (Conv2D)    (None, 17, 17, 128)  139264      Xception_block17_7_ac[0][0]      \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 128)  384         InceptionResNetV2_conv2d_106[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_30 (None, 17, 17, 128)  384         Xception_conv2d_309[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_10 (None, 17, 17, 128)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_309 (Activa (None, 17, 17, 128)  0           Xception_batch_normalization_309[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_107 (C (None, 17, 17, 160)  143360      InceptionResNetV2_activation_106[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_310 (Conv2D)    (None, 17, 17, 160)  143360      Xception_activation_309[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 160)  480         InceptionResNetV2_conv2d_107[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_31 (None, 17, 17, 160)  480         Xception_conv2d_310[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_10 (None, 17, 17, 160)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_310 (Activa (None, 17, 17, 160)  0           Xception_batch_normalization_310[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_105 (C (None, 17, 17, 192)  208896      InceptionResNetV2_block17_7_ac[0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_108 (C (None, 17, 17, 192)  215040      InceptionResNetV2_activation_107[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_308 (Conv2D)    (None, 17, 17, 192)  208896      Xception_block17_7_ac[0][0]      \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_311 (Conv2D)    (None, 17, 17, 192)  215040      Xception_activation_310[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 192)  576         InceptionResNetV2_conv2d_105[0][0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 192)  576         InceptionResNetV2_conv2d_108[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_30 (None, 17, 17, 192)  576         Xception_conv2d_308[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_31 (None, 17, 17, 192)  576         Xception_conv2d_311[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_10 (None, 17, 17, 192)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_10 (None, 17, 17, 192)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_308 (Activa (None, 17, 17, 192)  0           Xception_batch_normalization_308[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_311 (Activa (None, 17, 17, 192)  0           Xception_batch_normalization_311[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_8_mix (None, 17, 17, 384)  0           InceptionResNetV2_activation_105[\n",
      "                                                                 InceptionResNetV2_activation_108[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_8_mixed (Conca (None, 17, 17, 384)  0           Xception_activation_308[0][0]    \n",
      "                                                                 Xception_activation_311[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_8_con (None, 17, 17, 1088) 418880      InceptionResNetV2_block17_8_mixed\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_8_conv (Conv2D (None, 17, 17, 1088) 418880      Xception_block17_8_mixed[0][0]   \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_8 (La (None, 17, 17, 1088) 0           InceptionResNetV2_block17_7_ac[0]\n",
      "                                                                 InceptionResNetV2_block17_8_conv[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_8 (Lambda)     (None, 17, 17, 1088) 0           Xception_block17_7_ac[0][0]      \n",
      "                                                                 Xception_block17_8_conv[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_8_ac  (None, 17, 17, 1088) 0           InceptionResNetV2_block17_8[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_8_ac (Activati (None, 17, 17, 1088) 0           Xception_block17_8[0][0]         \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_110 (C (None, 17, 17, 128)  139264      InceptionResNetV2_block17_8_ac[0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_313 (Conv2D)    (None, 17, 17, 128)  139264      Xception_block17_8_ac[0][0]      \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 128)  384         InceptionResNetV2_conv2d_110[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_31 (None, 17, 17, 128)  384         Xception_conv2d_313[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_11 (None, 17, 17, 128)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_313 (Activa (None, 17, 17, 128)  0           Xception_batch_normalization_313[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_111 (C (None, 17, 17, 160)  143360      InceptionResNetV2_activation_110[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_314 (Conv2D)    (None, 17, 17, 160)  143360      Xception_activation_313[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 160)  480         InceptionResNetV2_conv2d_111[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_31 (None, 17, 17, 160)  480         Xception_conv2d_314[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_11 (None, 17, 17, 160)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_314 (Activa (None, 17, 17, 160)  0           Xception_batch_normalization_314[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_109 (C (None, 17, 17, 192)  208896      InceptionResNetV2_block17_8_ac[0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_112 (C (None, 17, 17, 192)  215040      InceptionResNetV2_activation_111[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_312 (Conv2D)    (None, 17, 17, 192)  208896      Xception_block17_8_ac[0][0]      \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_315 (Conv2D)    (None, 17, 17, 192)  215040      Xception_activation_314[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 192)  576         InceptionResNetV2_conv2d_109[0][0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 192)  576         InceptionResNetV2_conv2d_112[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_31 (None, 17, 17, 192)  576         Xception_conv2d_312[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_31 (None, 17, 17, 192)  576         Xception_conv2d_315[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_10 (None, 17, 17, 192)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_11 (None, 17, 17, 192)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_312 (Activa (None, 17, 17, 192)  0           Xception_batch_normalization_312[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_315 (Activa (None, 17, 17, 192)  0           Xception_batch_normalization_315[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_9_mix (None, 17, 17, 384)  0           InceptionResNetV2_activation_109[\n",
      "                                                                 InceptionResNetV2_activation_112[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_9_mixed (Conca (None, 17, 17, 384)  0           Xception_activation_312[0][0]    \n",
      "                                                                 Xception_activation_315[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_9_con (None, 17, 17, 1088) 418880      InceptionResNetV2_block17_9_mixed\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_9_conv (Conv2D (None, 17, 17, 1088) 418880      Xception_block17_9_mixed[0][0]   \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_9 (La (None, 17, 17, 1088) 0           InceptionResNetV2_block17_8_ac[0]\n",
      "                                                                 InceptionResNetV2_block17_9_conv[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_9 (Lambda)     (None, 17, 17, 1088) 0           Xception_block17_8_ac[0][0]      \n",
      "                                                                 Xception_block17_9_conv[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_9_ac  (None, 17, 17, 1088) 0           InceptionResNetV2_block17_9[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_9_ac (Activati (None, 17, 17, 1088) 0           Xception_block17_9[0][0]         \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_114 (C (None, 17, 17, 128)  139264      InceptionResNetV2_block17_9_ac[0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_317 (Conv2D)    (None, 17, 17, 128)  139264      Xception_block17_9_ac[0][0]      \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 128)  384         InceptionResNetV2_conv2d_114[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_31 (None, 17, 17, 128)  384         Xception_conv2d_317[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_11 (None, 17, 17, 128)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_317 (Activa (None, 17, 17, 128)  0           Xception_batch_normalization_317[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_115 (C (None, 17, 17, 160)  143360      InceptionResNetV2_activation_114[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_318 (Conv2D)    (None, 17, 17, 160)  143360      Xception_activation_317[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 160)  480         InceptionResNetV2_conv2d_115[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_31 (None, 17, 17, 160)  480         Xception_conv2d_318[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_11 (None, 17, 17, 160)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_318 (Activa (None, 17, 17, 160)  0           Xception_batch_normalization_318[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_113 (C (None, 17, 17, 192)  208896      InceptionResNetV2_block17_9_ac[0]\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_116 (C (None, 17, 17, 192)  215040      InceptionResNetV2_activation_115[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_316 (Conv2D)    (None, 17, 17, 192)  208896      Xception_block17_9_ac[0][0]      \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_319 (Conv2D)    (None, 17, 17, 192)  215040      Xception_activation_318[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 192)  576         InceptionResNetV2_conv2d_113[0][0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 192)  576         InceptionResNetV2_conv2d_116[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_31 (None, 17, 17, 192)  576         Xception_conv2d_316[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_31 (None, 17, 17, 192)  576         Xception_conv2d_319[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_11 (None, 17, 17, 192)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_11 (None, 17, 17, 192)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_316 (Activa (None, 17, 17, 192)  0           Xception_batch_normalization_316[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_319 (Activa (None, 17, 17, 192)  0           Xception_batch_normalization_319[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_10_mi (None, 17, 17, 384)  0           InceptionResNetV2_activation_113[\n",
      "                                                                 InceptionResNetV2_activation_116[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_10_mixed (Conc (None, 17, 17, 384)  0           Xception_activation_316[0][0]    \n",
      "                                                                 Xception_activation_319[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_10_co (None, 17, 17, 1088) 418880      InceptionResNetV2_block17_10_mixe\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_10_conv (Conv2 (None, 17, 17, 1088) 418880      Xception_block17_10_mixed[0][0]  \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_10 (L (None, 17, 17, 1088) 0           InceptionResNetV2_block17_9_ac[0]\n",
      "                                                                 InceptionResNetV2_block17_10_conv\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_10 (Lambda)    (None, 17, 17, 1088) 0           Xception_block17_9_ac[0][0]      \n",
      "                                                                 Xception_block17_10_conv[0][0]   \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_10_ac (None, 17, 17, 1088) 0           InceptionResNetV2_block17_10[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_10_ac (Activat (None, 17, 17, 1088) 0           Xception_block17_10[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_118 (C (None, 17, 17, 128)  139264      InceptionResNetV2_block17_10_ac[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_321 (Conv2D)    (None, 17, 17, 128)  139264      Xception_block17_10_ac[0][0]     \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 128)  384         InceptionResNetV2_conv2d_118[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_32 (None, 17, 17, 128)  384         Xception_conv2d_321[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_11 (None, 17, 17, 128)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_321 (Activa (None, 17, 17, 128)  0           Xception_batch_normalization_321[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_119 (C (None, 17, 17, 160)  143360      InceptionResNetV2_activation_118[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_322 (Conv2D)    (None, 17, 17, 160)  143360      Xception_activation_321[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 160)  480         InceptionResNetV2_conv2d_119[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_32 (None, 17, 17, 160)  480         Xception_conv2d_322[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_11 (None, 17, 17, 160)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_322 (Activa (None, 17, 17, 160)  0           Xception_batch_normalization_322[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_117 (C (None, 17, 17, 192)  208896      InceptionResNetV2_block17_10_ac[0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_120 (C (None, 17, 17, 192)  215040      InceptionResNetV2_activation_119[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_320 (Conv2D)    (None, 17, 17, 192)  208896      Xception_block17_10_ac[0][0]     \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_323 (Conv2D)    (None, 17, 17, 192)  215040      Xception_activation_322[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 192)  576         InceptionResNetV2_conv2d_117[0][0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 192)  576         InceptionResNetV2_conv2d_120[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_32 (None, 17, 17, 192)  576         Xception_conv2d_320[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_32 (None, 17, 17, 192)  576         Xception_conv2d_323[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_11 (None, 17, 17, 192)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_12 (None, 17, 17, 192)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_320 (Activa (None, 17, 17, 192)  0           Xception_batch_normalization_320[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_323 (Activa (None, 17, 17, 192)  0           Xception_batch_normalization_323[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_11_mi (None, 17, 17, 384)  0           InceptionResNetV2_activation_117[\n",
      "                                                                 InceptionResNetV2_activation_120[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_11_mixed (Conc (None, 17, 17, 384)  0           Xception_activation_320[0][0]    \n",
      "                                                                 Xception_activation_323[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_11_co (None, 17, 17, 1088) 418880      InceptionResNetV2_block17_11_mixe\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_11_conv (Conv2 (None, 17, 17, 1088) 418880      Xception_block17_11_mixed[0][0]  \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_11 (L (None, 17, 17, 1088) 0           InceptionResNetV2_block17_10_ac[0\n",
      "                                                                 InceptionResNetV2_block17_11_conv\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_11 (Lambda)    (None, 17, 17, 1088) 0           Xception_block17_10_ac[0][0]     \n",
      "                                                                 Xception_block17_11_conv[0][0]   \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_11_ac (None, 17, 17, 1088) 0           InceptionResNetV2_block17_11[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_11_ac (Activat (None, 17, 17, 1088) 0           Xception_block17_11[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_122 (C (None, 17, 17, 128)  139264      InceptionResNetV2_block17_11_ac[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_325 (Conv2D)    (None, 17, 17, 128)  139264      Xception_block17_11_ac[0][0]     \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 128)  384         InceptionResNetV2_conv2d_122[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_32 (None, 17, 17, 128)  384         Xception_conv2d_325[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_12 (None, 17, 17, 128)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_325 (Activa (None, 17, 17, 128)  0           Xception_batch_normalization_325[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_123 (C (None, 17, 17, 160)  143360      InceptionResNetV2_activation_122[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_326 (Conv2D)    (None, 17, 17, 160)  143360      Xception_activation_325[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 160)  480         InceptionResNetV2_conv2d_123[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_32 (None, 17, 17, 160)  480         Xception_conv2d_326[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_12 (None, 17, 17, 160)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_326 (Activa (None, 17, 17, 160)  0           Xception_batch_normalization_326[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_121 (C (None, 17, 17, 192)  208896      InceptionResNetV2_block17_11_ac[0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_124 (C (None, 17, 17, 192)  215040      InceptionResNetV2_activation_123[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_324 (Conv2D)    (None, 17, 17, 192)  208896      Xception_block17_11_ac[0][0]     \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_327 (Conv2D)    (None, 17, 17, 192)  215040      Xception_activation_326[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 192)  576         InceptionResNetV2_conv2d_121[0][0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 192)  576         InceptionResNetV2_conv2d_124[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_32 (None, 17, 17, 192)  576         Xception_conv2d_324[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_32 (None, 17, 17, 192)  576         Xception_conv2d_327[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_12 (None, 17, 17, 192)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_12 (None, 17, 17, 192)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_324 (Activa (None, 17, 17, 192)  0           Xception_batch_normalization_324[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_327 (Activa (None, 17, 17, 192)  0           Xception_batch_normalization_327[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_12_mi (None, 17, 17, 384)  0           InceptionResNetV2_activation_121[\n",
      "                                                                 InceptionResNetV2_activation_124[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_12_mixed (Conc (None, 17, 17, 384)  0           Xception_activation_324[0][0]    \n",
      "                                                                 Xception_activation_327[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_12_co (None, 17, 17, 1088) 418880      InceptionResNetV2_block17_12_mixe\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_12_conv (Conv2 (None, 17, 17, 1088) 418880      Xception_block17_12_mixed[0][0]  \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_12 (L (None, 17, 17, 1088) 0           InceptionResNetV2_block17_11_ac[0\n",
      "                                                                 InceptionResNetV2_block17_12_conv\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_12 (Lambda)    (None, 17, 17, 1088) 0           Xception_block17_11_ac[0][0]     \n",
      "                                                                 Xception_block17_12_conv[0][0]   \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_12_ac (None, 17, 17, 1088) 0           InceptionResNetV2_block17_12[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_12_ac (Activat (None, 17, 17, 1088) 0           Xception_block17_12[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_126 (C (None, 17, 17, 128)  139264      InceptionResNetV2_block17_12_ac[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_329 (Conv2D)    (None, 17, 17, 128)  139264      Xception_block17_12_ac[0][0]     \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 128)  384         InceptionResNetV2_conv2d_126[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_32 (None, 17, 17, 128)  384         Xception_conv2d_329[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_12 (None, 17, 17, 128)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_329 (Activa (None, 17, 17, 128)  0           Xception_batch_normalization_329[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_127 (C (None, 17, 17, 160)  143360      InceptionResNetV2_activation_126[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_330 (Conv2D)    (None, 17, 17, 160)  143360      Xception_activation_329[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 160)  480         InceptionResNetV2_conv2d_127[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_33 (None, 17, 17, 160)  480         Xception_conv2d_330[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_12 (None, 17, 17, 160)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_330 (Activa (None, 17, 17, 160)  0           Xception_batch_normalization_330[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_125 (C (None, 17, 17, 192)  208896      InceptionResNetV2_block17_12_ac[0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_128 (C (None, 17, 17, 192)  215040      InceptionResNetV2_activation_127[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_328 (Conv2D)    (None, 17, 17, 192)  208896      Xception_block17_12_ac[0][0]     \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_331 (Conv2D)    (None, 17, 17, 192)  215040      Xception_activation_330[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 192)  576         InceptionResNetV2_conv2d_125[0][0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 192)  576         InceptionResNetV2_conv2d_128[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_32 (None, 17, 17, 192)  576         Xception_conv2d_328[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_33 (None, 17, 17, 192)  576         Xception_conv2d_331[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_12 (None, 17, 17, 192)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_12 (None, 17, 17, 192)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_328 (Activa (None, 17, 17, 192)  0           Xception_batch_normalization_328[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_331 (Activa (None, 17, 17, 192)  0           Xception_batch_normalization_331[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_13_mi (None, 17, 17, 384)  0           InceptionResNetV2_activation_125[\n",
      "                                                                 InceptionResNetV2_activation_128[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_13_mixed (Conc (None, 17, 17, 384)  0           Xception_activation_328[0][0]    \n",
      "                                                                 Xception_activation_331[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_13_co (None, 17, 17, 1088) 418880      InceptionResNetV2_block17_13_mixe\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_13_conv (Conv2 (None, 17, 17, 1088) 418880      Xception_block17_13_mixed[0][0]  \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_13 (L (None, 17, 17, 1088) 0           InceptionResNetV2_block17_12_ac[0\n",
      "                                                                 InceptionResNetV2_block17_13_conv\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_13 (Lambda)    (None, 17, 17, 1088) 0           Xception_block17_12_ac[0][0]     \n",
      "                                                                 Xception_block17_13_conv[0][0]   \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_13_ac (None, 17, 17, 1088) 0           InceptionResNetV2_block17_13[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_13_ac (Activat (None, 17, 17, 1088) 0           Xception_block17_13[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_130 (C (None, 17, 17, 128)  139264      InceptionResNetV2_block17_13_ac[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_333 (Conv2D)    (None, 17, 17, 128)  139264      Xception_block17_13_ac[0][0]     \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 128)  384         InceptionResNetV2_conv2d_130[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_33 (None, 17, 17, 128)  384         Xception_conv2d_333[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_13 (None, 17, 17, 128)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_333 (Activa (None, 17, 17, 128)  0           Xception_batch_normalization_333[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_131 (C (None, 17, 17, 160)  143360      InceptionResNetV2_activation_130[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_334 (Conv2D)    (None, 17, 17, 160)  143360      Xception_activation_333[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 160)  480         InceptionResNetV2_conv2d_131[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_33 (None, 17, 17, 160)  480         Xception_conv2d_334[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_13 (None, 17, 17, 160)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_334 (Activa (None, 17, 17, 160)  0           Xception_batch_normalization_334[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_129 (C (None, 17, 17, 192)  208896      InceptionResNetV2_block17_13_ac[0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_132 (C (None, 17, 17, 192)  215040      InceptionResNetV2_activation_131[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_332 (Conv2D)    (None, 17, 17, 192)  208896      Xception_block17_13_ac[0][0]     \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_335 (Conv2D)    (None, 17, 17, 192)  215040      Xception_activation_334[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 192)  576         InceptionResNetV2_conv2d_129[0][0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 192)  576         InceptionResNetV2_conv2d_132[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_33 (None, 17, 17, 192)  576         Xception_conv2d_332[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_33 (None, 17, 17, 192)  576         Xception_conv2d_335[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_12 (None, 17, 17, 192)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_13 (None, 17, 17, 192)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_332 (Activa (None, 17, 17, 192)  0           Xception_batch_normalization_332[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_335 (Activa (None, 17, 17, 192)  0           Xception_batch_normalization_335[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_14_mi (None, 17, 17, 384)  0           InceptionResNetV2_activation_129[\n",
      "                                                                 InceptionResNetV2_activation_132[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_14_mixed (Conc (None, 17, 17, 384)  0           Xception_activation_332[0][0]    \n",
      "                                                                 Xception_activation_335[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_14_co (None, 17, 17, 1088) 418880      InceptionResNetV2_block17_14_mixe\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_14_conv (Conv2 (None, 17, 17, 1088) 418880      Xception_block17_14_mixed[0][0]  \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_14 (L (None, 17, 17, 1088) 0           InceptionResNetV2_block17_13_ac[0\n",
      "                                                                 InceptionResNetV2_block17_14_conv\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_14 (Lambda)    (None, 17, 17, 1088) 0           Xception_block17_13_ac[0][0]     \n",
      "                                                                 Xception_block17_14_conv[0][0]   \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_14_ac (None, 17, 17, 1088) 0           InceptionResNetV2_block17_14[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_14_ac (Activat (None, 17, 17, 1088) 0           Xception_block17_14[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_134 (C (None, 17, 17, 128)  139264      InceptionResNetV2_block17_14_ac[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_337 (Conv2D)    (None, 17, 17, 128)  139264      Xception_block17_14_ac[0][0]     \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 128)  384         InceptionResNetV2_conv2d_134[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_33 (None, 17, 17, 128)  384         Xception_conv2d_337[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_13 (None, 17, 17, 128)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_337 (Activa (None, 17, 17, 128)  0           Xception_batch_normalization_337[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_135 (C (None, 17, 17, 160)  143360      InceptionResNetV2_activation_134[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_338 (Conv2D)    (None, 17, 17, 160)  143360      Xception_activation_337[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 160)  480         InceptionResNetV2_conv2d_135[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_33 (None, 17, 17, 160)  480         Xception_conv2d_338[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_13 (None, 17, 17, 160)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_338 (Activa (None, 17, 17, 160)  0           Xception_batch_normalization_338[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_133 (C (None, 17, 17, 192)  208896      InceptionResNetV2_block17_14_ac[0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_136 (C (None, 17, 17, 192)  215040      InceptionResNetV2_activation_135[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_336 (Conv2D)    (None, 17, 17, 192)  208896      Xception_block17_14_ac[0][0]     \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_339 (Conv2D)    (None, 17, 17, 192)  215040      Xception_activation_338[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 192)  576         InceptionResNetV2_conv2d_133[0][0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 192)  576         InceptionResNetV2_conv2d_136[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_33 (None, 17, 17, 192)  576         Xception_conv2d_336[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_33 (None, 17, 17, 192)  576         Xception_conv2d_339[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_13 (None, 17, 17, 192)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_13 (None, 17, 17, 192)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_336 (Activa (None, 17, 17, 192)  0           Xception_batch_normalization_336[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_339 (Activa (None, 17, 17, 192)  0           Xception_batch_normalization_339[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_15_mi (None, 17, 17, 384)  0           InceptionResNetV2_activation_133[\n",
      "                                                                 InceptionResNetV2_activation_136[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_15_mixed (Conc (None, 17, 17, 384)  0           Xception_activation_336[0][0]    \n",
      "                                                                 Xception_activation_339[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_15_co (None, 17, 17, 1088) 418880      InceptionResNetV2_block17_15_mixe\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_15_conv (Conv2 (None, 17, 17, 1088) 418880      Xception_block17_15_mixed[0][0]  \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_15 (L (None, 17, 17, 1088) 0           InceptionResNetV2_block17_14_ac[0\n",
      "                                                                 InceptionResNetV2_block17_15_conv\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_15 (Lambda)    (None, 17, 17, 1088) 0           Xception_block17_14_ac[0][0]     \n",
      "                                                                 Xception_block17_15_conv[0][0]   \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_15_ac (None, 17, 17, 1088) 0           InceptionResNetV2_block17_15[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_15_ac (Activat (None, 17, 17, 1088) 0           Xception_block17_15[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_138 (C (None, 17, 17, 128)  139264      InceptionResNetV2_block17_15_ac[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_341 (Conv2D)    (None, 17, 17, 128)  139264      Xception_block17_15_ac[0][0]     \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 128)  384         InceptionResNetV2_conv2d_138[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_34 (None, 17, 17, 128)  384         Xception_conv2d_341[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_13 (None, 17, 17, 128)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_341 (Activa (None, 17, 17, 128)  0           Xception_batch_normalization_341[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_139 (C (None, 17, 17, 160)  143360      InceptionResNetV2_activation_138[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_342 (Conv2D)    (None, 17, 17, 160)  143360      Xception_activation_341[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 160)  480         InceptionResNetV2_conv2d_139[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_34 (None, 17, 17, 160)  480         Xception_conv2d_342[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_13 (None, 17, 17, 160)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_342 (Activa (None, 17, 17, 160)  0           Xception_batch_normalization_342[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_137 (C (None, 17, 17, 192)  208896      InceptionResNetV2_block17_15_ac[0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_140 (C (None, 17, 17, 192)  215040      InceptionResNetV2_activation_139[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_340 (Conv2D)    (None, 17, 17, 192)  208896      Xception_block17_15_ac[0][0]     \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_343 (Conv2D)    (None, 17, 17, 192)  215040      Xception_activation_342[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 192)  576         InceptionResNetV2_conv2d_137[0][0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 192)  576         InceptionResNetV2_conv2d_140[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_34 (None, 17, 17, 192)  576         Xception_conv2d_340[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_34 (None, 17, 17, 192)  576         Xception_conv2d_343[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_13 (None, 17, 17, 192)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_14 (None, 17, 17, 192)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_340 (Activa (None, 17, 17, 192)  0           Xception_batch_normalization_340[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_343 (Activa (None, 17, 17, 192)  0           Xception_batch_normalization_343[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_16_mi (None, 17, 17, 384)  0           InceptionResNetV2_activation_137[\n",
      "                                                                 InceptionResNetV2_activation_140[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_16_mixed (Conc (None, 17, 17, 384)  0           Xception_activation_340[0][0]    \n",
      "                                                                 Xception_activation_343[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_16_co (None, 17, 17, 1088) 418880      InceptionResNetV2_block17_16_mixe\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_16_conv (Conv2 (None, 17, 17, 1088) 418880      Xception_block17_16_mixed[0][0]  \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_16 (L (None, 17, 17, 1088) 0           InceptionResNetV2_block17_15_ac[0\n",
      "                                                                 InceptionResNetV2_block17_16_conv\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_16 (Lambda)    (None, 17, 17, 1088) 0           Xception_block17_15_ac[0][0]     \n",
      "                                                                 Xception_block17_16_conv[0][0]   \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_16_ac (None, 17, 17, 1088) 0           InceptionResNetV2_block17_16[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_16_ac (Activat (None, 17, 17, 1088) 0           Xception_block17_16[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_142 (C (None, 17, 17, 128)  139264      InceptionResNetV2_block17_16_ac[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_345 (Conv2D)    (None, 17, 17, 128)  139264      Xception_block17_16_ac[0][0]     \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 128)  384         InceptionResNetV2_conv2d_142[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_34 (None, 17, 17, 128)  384         Xception_conv2d_345[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_14 (None, 17, 17, 128)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_345 (Activa (None, 17, 17, 128)  0           Xception_batch_normalization_345[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_143 (C (None, 17, 17, 160)  143360      InceptionResNetV2_activation_142[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_346 (Conv2D)    (None, 17, 17, 160)  143360      Xception_activation_345[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 160)  480         InceptionResNetV2_conv2d_143[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_34 (None, 17, 17, 160)  480         Xception_conv2d_346[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_14 (None, 17, 17, 160)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_346 (Activa (None, 17, 17, 160)  0           Xception_batch_normalization_346[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_141 (C (None, 17, 17, 192)  208896      InceptionResNetV2_block17_16_ac[0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_144 (C (None, 17, 17, 192)  215040      InceptionResNetV2_activation_143[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_344 (Conv2D)    (None, 17, 17, 192)  208896      Xception_block17_16_ac[0][0]     \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_347 (Conv2D)    (None, 17, 17, 192)  215040      Xception_activation_346[0][0]    \n",
      "__________________________________________________________________________________________________\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "InceptionResNetV2_batch_normali (None, 17, 17, 192)  576         InceptionResNetV2_conv2d_141[0][0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 192)  576         InceptionResNetV2_conv2d_144[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_34 (None, 17, 17, 192)  576         Xception_conv2d_344[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_34 (None, 17, 17, 192)  576         Xception_conv2d_347[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_14 (None, 17, 17, 192)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_14 (None, 17, 17, 192)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_344 (Activa (None, 17, 17, 192)  0           Xception_batch_normalization_344[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_347 (Activa (None, 17, 17, 192)  0           Xception_batch_normalization_347[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_17_mi (None, 17, 17, 384)  0           InceptionResNetV2_activation_141[\n",
      "                                                                 InceptionResNetV2_activation_144[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_17_mixed (Conc (None, 17, 17, 384)  0           Xception_activation_344[0][0]    \n",
      "                                                                 Xception_activation_347[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_17_co (None, 17, 17, 1088) 418880      InceptionResNetV2_block17_17_mixe\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_17_conv (Conv2 (None, 17, 17, 1088) 418880      Xception_block17_17_mixed[0][0]  \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_17 (L (None, 17, 17, 1088) 0           InceptionResNetV2_block17_16_ac[0\n",
      "                                                                 InceptionResNetV2_block17_17_conv\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_17 (Lambda)    (None, 17, 17, 1088) 0           Xception_block17_16_ac[0][0]     \n",
      "                                                                 Xception_block17_17_conv[0][0]   \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_17_ac (None, 17, 17, 1088) 0           InceptionResNetV2_block17_17[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_17_ac (Activat (None, 17, 17, 1088) 0           Xception_block17_17[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_146 (C (None, 17, 17, 128)  139264      InceptionResNetV2_block17_17_ac[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_349 (Conv2D)    (None, 17, 17, 128)  139264      Xception_block17_17_ac[0][0]     \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 128)  384         InceptionResNetV2_conv2d_146[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_34 (None, 17, 17, 128)  384         Xception_conv2d_349[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_14 (None, 17, 17, 128)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_349 (Activa (None, 17, 17, 128)  0           Xception_batch_normalization_349[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_147 (C (None, 17, 17, 160)  143360      InceptionResNetV2_activation_146[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_350 (Conv2D)    (None, 17, 17, 160)  143360      Xception_activation_349[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 160)  480         InceptionResNetV2_conv2d_147[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_35 (None, 17, 17, 160)  480         Xception_conv2d_350[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_14 (None, 17, 17, 160)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_350 (Activa (None, 17, 17, 160)  0           Xception_batch_normalization_350[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_145 (C (None, 17, 17, 192)  208896      InceptionResNetV2_block17_17_ac[0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_148 (C (None, 17, 17, 192)  215040      InceptionResNetV2_activation_147[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_348 (Conv2D)    (None, 17, 17, 192)  208896      Xception_block17_17_ac[0][0]     \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_351 (Conv2D)    (None, 17, 17, 192)  215040      Xception_activation_350[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 192)  576         InceptionResNetV2_conv2d_145[0][0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 192)  576         InceptionResNetV2_conv2d_148[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_34 (None, 17, 17, 192)  576         Xception_conv2d_348[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_35 (None, 17, 17, 192)  576         Xception_conv2d_351[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_14 (None, 17, 17, 192)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_14 (None, 17, 17, 192)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_348 (Activa (None, 17, 17, 192)  0           Xception_batch_normalization_348[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_351 (Activa (None, 17, 17, 192)  0           Xception_batch_normalization_351[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_18_mi (None, 17, 17, 384)  0           InceptionResNetV2_activation_145[\n",
      "                                                                 InceptionResNetV2_activation_148[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_18_mixed (Conc (None, 17, 17, 384)  0           Xception_activation_348[0][0]    \n",
      "                                                                 Xception_activation_351[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_18_co (None, 17, 17, 1088) 418880      InceptionResNetV2_block17_18_mixe\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_18_conv (Conv2 (None, 17, 17, 1088) 418880      Xception_block17_18_mixed[0][0]  \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_18 (L (None, 17, 17, 1088) 0           InceptionResNetV2_block17_17_ac[0\n",
      "                                                                 InceptionResNetV2_block17_18_conv\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_18 (Lambda)    (None, 17, 17, 1088) 0           Xception_block17_17_ac[0][0]     \n",
      "                                                                 Xception_block17_18_conv[0][0]   \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_18_ac (None, 17, 17, 1088) 0           InceptionResNetV2_block17_18[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_18_ac (Activat (None, 17, 17, 1088) 0           Xception_block17_18[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_150 (C (None, 17, 17, 128)  139264      InceptionResNetV2_block17_18_ac[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_353 (Conv2D)    (None, 17, 17, 128)  139264      Xception_block17_18_ac[0][0]     \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 128)  384         InceptionResNetV2_conv2d_150[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_35 (None, 17, 17, 128)  384         Xception_conv2d_353[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_15 (None, 17, 17, 128)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_353 (Activa (None, 17, 17, 128)  0           Xception_batch_normalization_353[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_151 (C (None, 17, 17, 160)  143360      InceptionResNetV2_activation_150[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_354 (Conv2D)    (None, 17, 17, 160)  143360      Xception_activation_353[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 160)  480         InceptionResNetV2_conv2d_151[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_35 (None, 17, 17, 160)  480         Xception_conv2d_354[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_15 (None, 17, 17, 160)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_354 (Activa (None, 17, 17, 160)  0           Xception_batch_normalization_354[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_149 (C (None, 17, 17, 192)  208896      InceptionResNetV2_block17_18_ac[0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_152 (C (None, 17, 17, 192)  215040      InceptionResNetV2_activation_151[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_352 (Conv2D)    (None, 17, 17, 192)  208896      Xception_block17_18_ac[0][0]     \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_355 (Conv2D)    (None, 17, 17, 192)  215040      Xception_activation_354[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 192)  576         InceptionResNetV2_conv2d_149[0][0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 192)  576         InceptionResNetV2_conv2d_152[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_35 (None, 17, 17, 192)  576         Xception_conv2d_352[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_35 (None, 17, 17, 192)  576         Xception_conv2d_355[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_14 (None, 17, 17, 192)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_15 (None, 17, 17, 192)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_352 (Activa (None, 17, 17, 192)  0           Xception_batch_normalization_352[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_355 (Activa (None, 17, 17, 192)  0           Xception_batch_normalization_355[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_19_mi (None, 17, 17, 384)  0           InceptionResNetV2_activation_149[\n",
      "                                                                 InceptionResNetV2_activation_152[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_19_mixed (Conc (None, 17, 17, 384)  0           Xception_activation_352[0][0]    \n",
      "                                                                 Xception_activation_355[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_19_co (None, 17, 17, 1088) 418880      InceptionResNetV2_block17_19_mixe\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_19_conv (Conv2 (None, 17, 17, 1088) 418880      Xception_block17_19_mixed[0][0]  \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_19 (L (None, 17, 17, 1088) 0           InceptionResNetV2_block17_18_ac[0\n",
      "                                                                 InceptionResNetV2_block17_19_conv\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_19 (Lambda)    (None, 17, 17, 1088) 0           Xception_block17_18_ac[0][0]     \n",
      "                                                                 Xception_block17_19_conv[0][0]   \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_19_ac (None, 17, 17, 1088) 0           InceptionResNetV2_block17_19[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_19_ac (Activat (None, 17, 17, 1088) 0           Xception_block17_19[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_154 (C (None, 17, 17, 128)  139264      InceptionResNetV2_block17_19_ac[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_357 (Conv2D)    (None, 17, 17, 128)  139264      Xception_block17_19_ac[0][0]     \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 128)  384         InceptionResNetV2_conv2d_154[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_35 (None, 17, 17, 128)  384         Xception_conv2d_357[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_15 (None, 17, 17, 128)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_357 (Activa (None, 17, 17, 128)  0           Xception_batch_normalization_357[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_155 (C (None, 17, 17, 160)  143360      InceptionResNetV2_activation_154[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_358 (Conv2D)    (None, 17, 17, 160)  143360      Xception_activation_357[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 160)  480         InceptionResNetV2_conv2d_155[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_35 (None, 17, 17, 160)  480         Xception_conv2d_358[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_15 (None, 17, 17, 160)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_358 (Activa (None, 17, 17, 160)  0           Xception_batch_normalization_358[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_153 (C (None, 17, 17, 192)  208896      InceptionResNetV2_block17_19_ac[0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_156 (C (None, 17, 17, 192)  215040      InceptionResNetV2_activation_155[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_356 (Conv2D)    (None, 17, 17, 192)  208896      Xception_block17_19_ac[0][0]     \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_359 (Conv2D)    (None, 17, 17, 192)  215040      Xception_activation_358[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 192)  576         InceptionResNetV2_conv2d_153[0][0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 192)  576         InceptionResNetV2_conv2d_156[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_35 (None, 17, 17, 192)  576         Xception_conv2d_356[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_35 (None, 17, 17, 192)  576         Xception_conv2d_359[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_15 (None, 17, 17, 192)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_15 (None, 17, 17, 192)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_356 (Activa (None, 17, 17, 192)  0           Xception_batch_normalization_356[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_359 (Activa (None, 17, 17, 192)  0           Xception_batch_normalization_359[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_20_mi (None, 17, 17, 384)  0           InceptionResNetV2_activation_153[\n",
      "                                                                 InceptionResNetV2_activation_156[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_20_mixed (Conc (None, 17, 17, 384)  0           Xception_activation_356[0][0]    \n",
      "                                                                 Xception_activation_359[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_20_co (None, 17, 17, 1088) 418880      InceptionResNetV2_block17_20_mixe\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_20_conv (Conv2 (None, 17, 17, 1088) 418880      Xception_block17_20_mixed[0][0]  \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_20 (L (None, 17, 17, 1088) 0           InceptionResNetV2_block17_19_ac[0\n",
      "                                                                 InceptionResNetV2_block17_20_conv\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_20 (Lambda)    (None, 17, 17, 1088) 0           Xception_block17_19_ac[0][0]     \n",
      "                                                                 Xception_block17_20_conv[0][0]   \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block17_20_ac (None, 17, 17, 1088) 0           InceptionResNetV2_block17_20[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block17_20_ac (Activat (None, 17, 17, 1088) 0           Xception_block17_20[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_161 (C (None, 17, 17, 256)  278528      InceptionResNetV2_block17_20_ac[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_364 (Conv2D)    (None, 17, 17, 256)  278528      Xception_block17_20_ac[0][0]     \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 256)  768         InceptionResNetV2_conv2d_161[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_36 (None, 17, 17, 256)  768         Xception_conv2d_364[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_16 (None, 17, 17, 256)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_364 (Activa (None, 17, 17, 256)  0           Xception_batch_normalization_364[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_157 (C (None, 17, 17, 256)  278528      InceptionResNetV2_block17_20_ac[0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_159 (C (None, 17, 17, 256)  278528      InceptionResNetV2_block17_20_ac[0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_162 (C (None, 17, 17, 288)  663552      InceptionResNetV2_activation_161[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_360 (Conv2D)    (None, 17, 17, 256)  278528      Xception_block17_20_ac[0][0]     \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_362 (Conv2D)    (None, 17, 17, 256)  278528      Xception_block17_20_ac[0][0]     \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_365 (Conv2D)    (None, 17, 17, 288)  663552      Xception_activation_364[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 256)  768         InceptionResNetV2_conv2d_157[0][0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 256)  768         InceptionResNetV2_conv2d_159[0][0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 17, 17, 288)  864         InceptionResNetV2_conv2d_162[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_36 (None, 17, 17, 256)  768         Xception_conv2d_360[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_36 (None, 17, 17, 256)  768         Xception_conv2d_362[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_36 (None, 17, 17, 288)  864         Xception_conv2d_365[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_15 (None, 17, 17, 256)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_15 (None, 17, 17, 256)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_16 (None, 17, 17, 288)  0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_360 (Activa (None, 17, 17, 256)  0           Xception_batch_normalization_360[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_362 (Activa (None, 17, 17, 256)  0           Xception_batch_normalization_362[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_365 (Activa (None, 17, 17, 288)  0           Xception_batch_normalization_365[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_158 (C (None, 8, 8, 384)    884736      InceptionResNetV2_activation_157[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_160 (C (None, 8, 8, 288)    663552      InceptionResNetV2_activation_159[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_163 (C (None, 8, 8, 320)    829440      InceptionResNetV2_activation_162[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_361 (Conv2D)    (None, 8, 8, 384)    884736      Xception_activation_360[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_363 (Conv2D)    (None, 8, 8, 288)    663552      Xception_activation_362[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_366 (Conv2D)    (None, 8, 8, 320)    829440      Xception_activation_365[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 8, 8, 384)    1152        InceptionResNetV2_conv2d_158[0][0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 8, 8, 288)    864         InceptionResNetV2_conv2d_160[0][0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 8, 8, 320)    960         InceptionResNetV2_conv2d_163[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_36 (None, 8, 8, 384)    1152        Xception_conv2d_361[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_36 (None, 8, 8, 288)    864         Xception_conv2d_363[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_36 (None, 8, 8, 320)    960         Xception_conv2d_366[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_15 (None, 8, 8, 384)    0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_16 (None, 8, 8, 288)    0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_16 (None, 8, 8, 320)    0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_max_pooling2d (None, 8, 8, 1088)   0           InceptionResNetV2_block17_20_ac[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_361 (Activa (None, 8, 8, 384)    0           Xception_batch_normalization_361[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_363 (Activa (None, 8, 8, 288)    0           Xception_batch_normalization_363[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_366 (Activa (None, 8, 8, 320)    0           Xception_batch_normalization_366[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_max_pooling2d_8 (MaxPo (None, 8, 8, 1088)   0           Xception_block17_20_ac[0][0]     \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_mixed_7a (Con (None, 8, 8, 2080)   0           InceptionResNetV2_activation_158[\n",
      "                                                                 InceptionResNetV2_activation_160[\n",
      "                                                                 InceptionResNetV2_activation_163[\n",
      "                                                                 InceptionResNetV2_max_pooling2d_4\n",
      "__________________________________________________________________________________________________\n",
      "Xception_mixed_7a (Concatenate) (None, 8, 8, 2080)   0           Xception_activation_361[0][0]    \n",
      "                                                                 Xception_activation_363[0][0]    \n",
      "                                                                 Xception_activation_366[0][0]    \n",
      "                                                                 Xception_max_pooling2d_8[0][0]   \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_165 (C (None, 8, 8, 192)    399360      InceptionResNetV2_mixed_7a[0][0] \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_368 (Conv2D)    (None, 8, 8, 192)    399360      Xception_mixed_7a[0][0]          \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 8, 8, 192)    576         InceptionResNetV2_conv2d_165[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_36 (None, 8, 8, 192)    576         Xception_conv2d_368[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_16 (None, 8, 8, 192)    0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_368 (Activa (None, 8, 8, 192)    0           Xception_batch_normalization_368[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_166 (C (None, 8, 8, 224)    129024      InceptionResNetV2_activation_165[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_369 (Conv2D)    (None, 8, 8, 224)    129024      Xception_activation_368[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 8, 8, 224)    672         InceptionResNetV2_conv2d_166[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_36 (None, 8, 8, 224)    672         Xception_conv2d_369[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_16 (None, 8, 8, 224)    0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_369 (Activa (None, 8, 8, 224)    0           Xception_batch_normalization_369[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_164 (C (None, 8, 8, 192)    399360      InceptionResNetV2_mixed_7a[0][0] \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_167 (C (None, 8, 8, 256)    172032      InceptionResNetV2_activation_166[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_367 (Conv2D)    (None, 8, 8, 192)    399360      Xception_mixed_7a[0][0]          \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_370 (Conv2D)    (None, 8, 8, 256)    172032      Xception_activation_369[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 8, 8, 192)    576         InceptionResNetV2_conv2d_164[0][0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 8, 8, 256)    768         InceptionResNetV2_conv2d_167[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_36 (None, 8, 8, 192)    576         Xception_conv2d_367[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_37 (None, 8, 8, 256)    768         Xception_conv2d_370[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_16 (None, 8, 8, 192)    0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_16 (None, 8, 8, 256)    0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_367 (Activa (None, 8, 8, 192)    0           Xception_batch_normalization_367[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_370 (Activa (None, 8, 8, 256)    0           Xception_batch_normalization_370[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block8_1_mixe (None, 8, 8, 448)    0           InceptionResNetV2_activation_164[\n",
      "                                                                 InceptionResNetV2_activation_167[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block8_1_mixed (Concat (None, 8, 8, 448)    0           Xception_activation_367[0][0]    \n",
      "                                                                 Xception_activation_370[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block8_1_conv (None, 8, 8, 2080)   933920      InceptionResNetV2_block8_1_mixed[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block8_1_conv (Conv2D) (None, 8, 8, 2080)   933920      Xception_block8_1_mixed[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block8_1 (Lam (None, 8, 8, 2080)   0           InceptionResNetV2_mixed_7a[0][0] \n",
      "                                                                 InceptionResNetV2_block8_1_conv[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block8_1 (Lambda)      (None, 8, 8, 2080)   0           Xception_mixed_7a[0][0]          \n",
      "                                                                 Xception_block8_1_conv[0][0]     \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block8_1_ac ( (None, 8, 8, 2080)   0           InceptionResNetV2_block8_1[0][0] \n",
      "__________________________________________________________________________________________________\n",
      "Xception_block8_1_ac (Activatio (None, 8, 8, 2080)   0           Xception_block8_1[0][0]          \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_169 (C (None, 8, 8, 192)    399360      InceptionResNetV2_block8_1_ac[0][\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_372 (Conv2D)    (None, 8, 8, 192)    399360      Xception_block8_1_ac[0][0]       \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 8, 8, 192)    576         InceptionResNetV2_conv2d_169[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_37 (None, 8, 8, 192)    576         Xception_conv2d_372[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_16 (None, 8, 8, 192)    0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_372 (Activa (None, 8, 8, 192)    0           Xception_batch_normalization_372[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_170 (C (None, 8, 8, 224)    129024      InceptionResNetV2_activation_169[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_373 (Conv2D)    (None, 8, 8, 224)    129024      Xception_activation_372[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 8, 8, 224)    672         InceptionResNetV2_conv2d_170[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_37 (None, 8, 8, 224)    672         Xception_conv2d_373[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_17 (None, 8, 8, 224)    0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_373 (Activa (None, 8, 8, 224)    0           Xception_batch_normalization_373[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_168 (C (None, 8, 8, 192)    399360      InceptionResNetV2_block8_1_ac[0][\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_171 (C (None, 8, 8, 256)    172032      InceptionResNetV2_activation_170[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_371 (Conv2D)    (None, 8, 8, 192)    399360      Xception_block8_1_ac[0][0]       \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_374 (Conv2D)    (None, 8, 8, 256)    172032      Xception_activation_373[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 8, 8, 192)    576         InceptionResNetV2_conv2d_168[0][0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 8, 8, 256)    768         InceptionResNetV2_conv2d_171[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_37 (None, 8, 8, 192)    576         Xception_conv2d_371[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_37 (None, 8, 8, 256)    768         Xception_conv2d_374[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_16 (None, 8, 8, 192)    0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_17 (None, 8, 8, 256)    0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_371 (Activa (None, 8, 8, 192)    0           Xception_batch_normalization_371[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_374 (Activa (None, 8, 8, 256)    0           Xception_batch_normalization_374[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block8_2_mixe (None, 8, 8, 448)    0           InceptionResNetV2_activation_168[\n",
      "                                                                 InceptionResNetV2_activation_171[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block8_2_mixed (Concat (None, 8, 8, 448)    0           Xception_activation_371[0][0]    \n",
      "                                                                 Xception_activation_374[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block8_2_conv (None, 8, 8, 2080)   933920      InceptionResNetV2_block8_2_mixed[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block8_2_conv (Conv2D) (None, 8, 8, 2080)   933920      Xception_block8_2_mixed[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block8_2 (Lam (None, 8, 8, 2080)   0           InceptionResNetV2_block8_1_ac[0][\n",
      "                                                                 InceptionResNetV2_block8_2_conv[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block8_2 (Lambda)      (None, 8, 8, 2080)   0           Xception_block8_1_ac[0][0]       \n",
      "                                                                 Xception_block8_2_conv[0][0]     \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block8_2_ac ( (None, 8, 8, 2080)   0           InceptionResNetV2_block8_2[0][0] \n",
      "__________________________________________________________________________________________________\n",
      "Xception_block8_2_ac (Activatio (None, 8, 8, 2080)   0           Xception_block8_2[0][0]          \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_173 (C (None, 8, 8, 192)    399360      InceptionResNetV2_block8_2_ac[0][\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_376 (Conv2D)    (None, 8, 8, 192)    399360      Xception_block8_2_ac[0][0]       \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 8, 8, 192)    576         InceptionResNetV2_conv2d_173[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_37 (None, 8, 8, 192)    576         Xception_conv2d_376[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_17 (None, 8, 8, 192)    0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_376 (Activa (None, 8, 8, 192)    0           Xception_batch_normalization_376[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_174 (C (None, 8, 8, 224)    129024      InceptionResNetV2_activation_173[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_377 (Conv2D)    (None, 8, 8, 224)    129024      Xception_activation_376[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 8, 8, 224)    672         InceptionResNetV2_conv2d_174[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_37 (None, 8, 8, 224)    672         Xception_conv2d_377[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_17 (None, 8, 8, 224)    0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_377 (Activa (None, 8, 8, 224)    0           Xception_batch_normalization_377[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_172 (C (None, 8, 8, 192)    399360      InceptionResNetV2_block8_2_ac[0][\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_175 (C (None, 8, 8, 256)    172032      InceptionResNetV2_activation_174[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_375 (Conv2D)    (None, 8, 8, 192)    399360      Xception_block8_2_ac[0][0]       \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_378 (Conv2D)    (None, 8, 8, 256)    172032      Xception_activation_377[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 8, 8, 192)    576         InceptionResNetV2_conv2d_172[0][0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 8, 8, 256)    768         InceptionResNetV2_conv2d_175[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_37 (None, 8, 8, 192)    576         Xception_conv2d_375[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_37 (None, 8, 8, 256)    768         Xception_conv2d_378[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_17 (None, 8, 8, 192)    0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_17 (None, 8, 8, 256)    0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_375 (Activa (None, 8, 8, 192)    0           Xception_batch_normalization_375[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_378 (Activa (None, 8, 8, 256)    0           Xception_batch_normalization_378[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block8_3_mixe (None, 8, 8, 448)    0           InceptionResNetV2_activation_172[\n",
      "                                                                 InceptionResNetV2_activation_175[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block8_3_mixed (Concat (None, 8, 8, 448)    0           Xception_activation_375[0][0]    \n",
      "                                                                 Xception_activation_378[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block8_3_conv (None, 8, 8, 2080)   933920      InceptionResNetV2_block8_3_mixed[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block8_3_conv (Conv2D) (None, 8, 8, 2080)   933920      Xception_block8_3_mixed[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block8_3 (Lam (None, 8, 8, 2080)   0           InceptionResNetV2_block8_2_ac[0][\n",
      "                                                                 InceptionResNetV2_block8_3_conv[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block8_3 (Lambda)      (None, 8, 8, 2080)   0           Xception_block8_2_ac[0][0]       \n",
      "                                                                 Xception_block8_3_conv[0][0]     \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block8_3_ac ( (None, 8, 8, 2080)   0           InceptionResNetV2_block8_3[0][0] \n",
      "__________________________________________________________________________________________________\n",
      "Xception_block8_3_ac (Activatio (None, 8, 8, 2080)   0           Xception_block8_3[0][0]          \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_177 (C (None, 8, 8, 192)    399360      InceptionResNetV2_block8_3_ac[0][\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_380 (Conv2D)    (None, 8, 8, 192)    399360      Xception_block8_3_ac[0][0]       \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 8, 8, 192)    576         InceptionResNetV2_conv2d_177[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_38 (None, 8, 8, 192)    576         Xception_conv2d_380[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_17 (None, 8, 8, 192)    0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_380 (Activa (None, 8, 8, 192)    0           Xception_batch_normalization_380[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_178 (C (None, 8, 8, 224)    129024      InceptionResNetV2_activation_177[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_381 (Conv2D)    (None, 8, 8, 224)    129024      Xception_activation_380[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 8, 8, 224)    672         InceptionResNetV2_conv2d_178[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_38 (None, 8, 8, 224)    672         Xception_conv2d_381[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_17 (None, 8, 8, 224)    0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_381 (Activa (None, 8, 8, 224)    0           Xception_batch_normalization_381[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_176 (C (None, 8, 8, 192)    399360      InceptionResNetV2_block8_3_ac[0][\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_179 (C (None, 8, 8, 256)    172032      InceptionResNetV2_activation_178[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_379 (Conv2D)    (None, 8, 8, 192)    399360      Xception_block8_3_ac[0][0]       \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_382 (Conv2D)    (None, 8, 8, 256)    172032      Xception_activation_381[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 8, 8, 192)    576         InceptionResNetV2_conv2d_176[0][0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 8, 8, 256)    768         InceptionResNetV2_conv2d_179[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_37 (None, 8, 8, 192)    576         Xception_conv2d_379[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_38 (None, 8, 8, 256)    768         Xception_conv2d_382[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_17 (None, 8, 8, 192)    0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_17 (None, 8, 8, 256)    0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_379 (Activa (None, 8, 8, 192)    0           Xception_batch_normalization_379[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_382 (Activa (None, 8, 8, 256)    0           Xception_batch_normalization_382[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block8_4_mixe (None, 8, 8, 448)    0           InceptionResNetV2_activation_176[\n",
      "                                                                 InceptionResNetV2_activation_179[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block8_4_mixed (Concat (None, 8, 8, 448)    0           Xception_activation_379[0][0]    \n",
      "                                                                 Xception_activation_382[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block8_4_conv (None, 8, 8, 2080)   933920      InceptionResNetV2_block8_4_mixed[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block8_4_conv (Conv2D) (None, 8, 8, 2080)   933920      Xception_block8_4_mixed[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block8_4 (Lam (None, 8, 8, 2080)   0           InceptionResNetV2_block8_3_ac[0][\n",
      "                                                                 InceptionResNetV2_block8_4_conv[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block8_4 (Lambda)      (None, 8, 8, 2080)   0           Xception_block8_3_ac[0][0]       \n",
      "                                                                 Xception_block8_4_conv[0][0]     \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block8_4_ac ( (None, 8, 8, 2080)   0           InceptionResNetV2_block8_4[0][0] \n",
      "__________________________________________________________________________________________________\n",
      "Xception_block8_4_ac (Activatio (None, 8, 8, 2080)   0           Xception_block8_4[0][0]          \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_181 (C (None, 8, 8, 192)    399360      InceptionResNetV2_block8_4_ac[0][\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_384 (Conv2D)    (None, 8, 8, 192)    399360      Xception_block8_4_ac[0][0]       \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 8, 8, 192)    576         InceptionResNetV2_conv2d_181[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_38 (None, 8, 8, 192)    576         Xception_conv2d_384[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_18 (None, 8, 8, 192)    0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_384 (Activa (None, 8, 8, 192)    0           Xception_batch_normalization_384[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_182 (C (None, 8, 8, 224)    129024      InceptionResNetV2_activation_181[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_385 (Conv2D)    (None, 8, 8, 224)    129024      Xception_activation_384[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 8, 8, 224)    672         InceptionResNetV2_conv2d_182[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_38 (None, 8, 8, 224)    672         Xception_conv2d_385[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_18 (None, 8, 8, 224)    0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_385 (Activa (None, 8, 8, 224)    0           Xception_batch_normalization_385[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_180 (C (None, 8, 8, 192)    399360      InceptionResNetV2_block8_4_ac[0][\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_183 (C (None, 8, 8, 256)    172032      InceptionResNetV2_activation_182[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_383 (Conv2D)    (None, 8, 8, 192)    399360      Xception_block8_4_ac[0][0]       \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_386 (Conv2D)    (None, 8, 8, 256)    172032      Xception_activation_385[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 8, 8, 192)    576         InceptionResNetV2_conv2d_180[0][0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 8, 8, 256)    768         InceptionResNetV2_conv2d_183[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_38 (None, 8, 8, 192)    576         Xception_conv2d_383[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_38 (None, 8, 8, 256)    768         Xception_conv2d_386[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_18 (None, 8, 8, 192)    0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_18 (None, 8, 8, 256)    0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_383 (Activa (None, 8, 8, 192)    0           Xception_batch_normalization_383[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_386 (Activa (None, 8, 8, 256)    0           Xception_batch_normalization_386[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block8_5_mixe (None, 8, 8, 448)    0           InceptionResNetV2_activation_180[\n",
      "                                                                 InceptionResNetV2_activation_183[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block8_5_mixed (Concat (None, 8, 8, 448)    0           Xception_activation_383[0][0]    \n",
      "                                                                 Xception_activation_386[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block8_5_conv (None, 8, 8, 2080)   933920      InceptionResNetV2_block8_5_mixed[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block8_5_conv (Conv2D) (None, 8, 8, 2080)   933920      Xception_block8_5_mixed[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block8_5 (Lam (None, 8, 8, 2080)   0           InceptionResNetV2_block8_4_ac[0][\n",
      "                                                                 InceptionResNetV2_block8_5_conv[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block8_5 (Lambda)      (None, 8, 8, 2080)   0           Xception_block8_4_ac[0][0]       \n",
      "                                                                 Xception_block8_5_conv[0][0]     \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block8_5_ac ( (None, 8, 8, 2080)   0           InceptionResNetV2_block8_5[0][0] \n",
      "__________________________________________________________________________________________________\n",
      "Xception_block8_5_ac (Activatio (None, 8, 8, 2080)   0           Xception_block8_5[0][0]          \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_185 (C (None, 8, 8, 192)    399360      InceptionResNetV2_block8_5_ac[0][\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_388 (Conv2D)    (None, 8, 8, 192)    399360      Xception_block8_5_ac[0][0]       \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 8, 8, 192)    576         InceptionResNetV2_conv2d_185[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_38 (None, 8, 8, 192)    576         Xception_conv2d_388[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_18 (None, 8, 8, 192)    0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_388 (Activa (None, 8, 8, 192)    0           Xception_batch_normalization_388[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_186 (C (None, 8, 8, 224)    129024      InceptionResNetV2_activation_185[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_389 (Conv2D)    (None, 8, 8, 224)    129024      Xception_activation_388[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 8, 8, 224)    672         InceptionResNetV2_conv2d_186[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_38 (None, 8, 8, 224)    672         Xception_conv2d_389[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_18 (None, 8, 8, 224)    0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_389 (Activa (None, 8, 8, 224)    0           Xception_batch_normalization_389[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_184 (C (None, 8, 8, 192)    399360      InceptionResNetV2_block8_5_ac[0][\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_187 (C (None, 8, 8, 256)    172032      InceptionResNetV2_activation_186[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_387 (Conv2D)    (None, 8, 8, 192)    399360      Xception_block8_5_ac[0][0]       \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_390 (Conv2D)    (None, 8, 8, 256)    172032      Xception_activation_389[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 8, 8, 192)    576         InceptionResNetV2_conv2d_184[0][0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 8, 8, 256)    768         InceptionResNetV2_conv2d_187[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_38 (None, 8, 8, 192)    576         Xception_conv2d_387[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_39 (None, 8, 8, 256)    768         Xception_conv2d_390[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_18 (None, 8, 8, 192)    0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_18 (None, 8, 8, 256)    0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_387 (Activa (None, 8, 8, 192)    0           Xception_batch_normalization_387[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_390 (Activa (None, 8, 8, 256)    0           Xception_batch_normalization_390[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block8_6_mixe (None, 8, 8, 448)    0           InceptionResNetV2_activation_184[\n",
      "                                                                 InceptionResNetV2_activation_187[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block8_6_mixed (Concat (None, 8, 8, 448)    0           Xception_activation_387[0][0]    \n",
      "                                                                 Xception_activation_390[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block8_6_conv (None, 8, 8, 2080)   933920      InceptionResNetV2_block8_6_mixed[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block8_6_conv (Conv2D) (None, 8, 8, 2080)   933920      Xception_block8_6_mixed[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block8_6 (Lam (None, 8, 8, 2080)   0           InceptionResNetV2_block8_5_ac[0][\n",
      "                                                                 InceptionResNetV2_block8_6_conv[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block8_6 (Lambda)      (None, 8, 8, 2080)   0           Xception_block8_5_ac[0][0]       \n",
      "                                                                 Xception_block8_6_conv[0][0]     \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block8_6_ac ( (None, 8, 8, 2080)   0           InceptionResNetV2_block8_6[0][0] \n",
      "__________________________________________________________________________________________________\n",
      "Xception_block8_6_ac (Activatio (None, 8, 8, 2080)   0           Xception_block8_6[0][0]          \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_189 (C (None, 8, 8, 192)    399360      InceptionResNetV2_block8_6_ac[0][\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_392 (Conv2D)    (None, 8, 8, 192)    399360      Xception_block8_6_ac[0][0]       \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 8, 8, 192)    576         InceptionResNetV2_conv2d_189[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_39 (None, 8, 8, 192)    576         Xception_conv2d_392[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_18 (None, 8, 8, 192)    0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_392 (Activa (None, 8, 8, 192)    0           Xception_batch_normalization_392[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_190 (C (None, 8, 8, 224)    129024      InceptionResNetV2_activation_189[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_393 (Conv2D)    (None, 8, 8, 224)    129024      Xception_activation_392[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 8, 8, 224)    672         InceptionResNetV2_conv2d_190[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_39 (None, 8, 8, 224)    672         Xception_conv2d_393[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_19 (None, 8, 8, 224)    0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_393 (Activa (None, 8, 8, 224)    0           Xception_batch_normalization_393[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_188 (C (None, 8, 8, 192)    399360      InceptionResNetV2_block8_6_ac[0][\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_191 (C (None, 8, 8, 256)    172032      InceptionResNetV2_activation_190[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_391 (Conv2D)    (None, 8, 8, 192)    399360      Xception_block8_6_ac[0][0]       \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_394 (Conv2D)    (None, 8, 8, 256)    172032      Xception_activation_393[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 8, 8, 192)    576         InceptionResNetV2_conv2d_188[0][0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 8, 8, 256)    768         InceptionResNetV2_conv2d_191[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_39 (None, 8, 8, 192)    576         Xception_conv2d_391[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_39 (None, 8, 8, 256)    768         Xception_conv2d_394[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_18 (None, 8, 8, 192)    0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_19 (None, 8, 8, 256)    0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_391 (Activa (None, 8, 8, 192)    0           Xception_batch_normalization_391[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_394 (Activa (None, 8, 8, 256)    0           Xception_batch_normalization_394[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block8_7_mixe (None, 8, 8, 448)    0           InceptionResNetV2_activation_188[\n",
      "                                                                 InceptionResNetV2_activation_191[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block8_7_mixed (Concat (None, 8, 8, 448)    0           Xception_activation_391[0][0]    \n",
      "                                                                 Xception_activation_394[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block8_7_conv (None, 8, 8, 2080)   933920      InceptionResNetV2_block8_7_mixed[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block8_7_conv (Conv2D) (None, 8, 8, 2080)   933920      Xception_block8_7_mixed[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block8_7 (Lam (None, 8, 8, 2080)   0           InceptionResNetV2_block8_6_ac[0][\n",
      "                                                                 InceptionResNetV2_block8_7_conv[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block8_7 (Lambda)      (None, 8, 8, 2080)   0           Xception_block8_6_ac[0][0]       \n",
      "                                                                 Xception_block8_7_conv[0][0]     \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block8_7_ac ( (None, 8, 8, 2080)   0           InceptionResNetV2_block8_7[0][0] \n",
      "__________________________________________________________________________________________________\n",
      "Xception_block8_7_ac (Activatio (None, 8, 8, 2080)   0           Xception_block8_7[0][0]          \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_193 (C (None, 8, 8, 192)    399360      InceptionResNetV2_block8_7_ac[0][\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_396 (Conv2D)    (None, 8, 8, 192)    399360      Xception_block8_7_ac[0][0]       \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 8, 8, 192)    576         InceptionResNetV2_conv2d_193[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_39 (None, 8, 8, 192)    576         Xception_conv2d_396[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_19 (None, 8, 8, 192)    0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_396 (Activa (None, 8, 8, 192)    0           Xception_batch_normalization_396[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_194 (C (None, 8, 8, 224)    129024      InceptionResNetV2_activation_193[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_397 (Conv2D)    (None, 8, 8, 224)    129024      Xception_activation_396[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 8, 8, 224)    672         InceptionResNetV2_conv2d_194[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_39 (None, 8, 8, 224)    672         Xception_conv2d_397[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_19 (None, 8, 8, 224)    0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_397 (Activa (None, 8, 8, 224)    0           Xception_batch_normalization_397[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_192 (C (None, 8, 8, 192)    399360      InceptionResNetV2_block8_7_ac[0][\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_195 (C (None, 8, 8, 256)    172032      InceptionResNetV2_activation_194[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_395 (Conv2D)    (None, 8, 8, 192)    399360      Xception_block8_7_ac[0][0]       \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_398 (Conv2D)    (None, 8, 8, 256)    172032      Xception_activation_397[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 8, 8, 192)    576         InceptionResNetV2_conv2d_192[0][0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 8, 8, 256)    768         InceptionResNetV2_conv2d_195[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_39 (None, 8, 8, 192)    576         Xception_conv2d_395[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_39 (None, 8, 8, 256)    768         Xception_conv2d_398[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_19 (None, 8, 8, 192)    0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_19 (None, 8, 8, 256)    0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_395 (Activa (None, 8, 8, 192)    0           Xception_batch_normalization_395[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_398 (Activa (None, 8, 8, 256)    0           Xception_batch_normalization_398[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block8_8_mixe (None, 8, 8, 448)    0           InceptionResNetV2_activation_192[\n",
      "                                                                 InceptionResNetV2_activation_195[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block8_8_mixed (Concat (None, 8, 8, 448)    0           Xception_activation_395[0][0]    \n",
      "                                                                 Xception_activation_398[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block8_8_conv (None, 8, 8, 2080)   933920      InceptionResNetV2_block8_8_mixed[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block8_8_conv (Conv2D) (None, 8, 8, 2080)   933920      Xception_block8_8_mixed[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block8_8 (Lam (None, 8, 8, 2080)   0           InceptionResNetV2_block8_7_ac[0][\n",
      "                                                                 InceptionResNetV2_block8_8_conv[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block8_8 (Lambda)      (None, 8, 8, 2080)   0           Xception_block8_7_ac[0][0]       \n",
      "                                                                 Xception_block8_8_conv[0][0]     \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block8_8_ac ( (None, 8, 8, 2080)   0           InceptionResNetV2_block8_8[0][0] \n",
      "__________________________________________________________________________________________________\n",
      "Xception_block8_8_ac (Activatio (None, 8, 8, 2080)   0           Xception_block8_8[0][0]          \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_197 (C (None, 8, 8, 192)    399360      InceptionResNetV2_block8_8_ac[0][\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_400 (Conv2D)    (None, 8, 8, 192)    399360      Xception_block8_8_ac[0][0]       \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 8, 8, 192)    576         InceptionResNetV2_conv2d_197[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_40 (None, 8, 8, 192)    576         Xception_conv2d_400[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_19 (None, 8, 8, 192)    0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_400 (Activa (None, 8, 8, 192)    0           Xception_batch_normalization_400[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_198 (C (None, 8, 8, 224)    129024      InceptionResNetV2_activation_197[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_401 (Conv2D)    (None, 8, 8, 224)    129024      Xception_activation_400[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 8, 8, 224)    672         InceptionResNetV2_conv2d_198[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_40 (None, 8, 8, 224)    672         Xception_conv2d_401[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_19 (None, 8, 8, 224)    0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_401 (Activa (None, 8, 8, 224)    0           Xception_batch_normalization_401[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_196 (C (None, 8, 8, 192)    399360      InceptionResNetV2_block8_8_ac[0][\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_199 (C (None, 8, 8, 256)    172032      InceptionResNetV2_activation_198[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_399 (Conv2D)    (None, 8, 8, 192)    399360      Xception_block8_8_ac[0][0]       \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_402 (Conv2D)    (None, 8, 8, 256)    172032      Xception_activation_401[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 8, 8, 192)    576         InceptionResNetV2_conv2d_196[0][0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 8, 8, 256)    768         InceptionResNetV2_conv2d_199[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_39 (None, 8, 8, 192)    576         Xception_conv2d_399[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_40 (None, 8, 8, 256)    768         Xception_conv2d_402[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_19 (None, 8, 8, 192)    0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_19 (None, 8, 8, 256)    0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_399 (Activa (None, 8, 8, 192)    0           Xception_batch_normalization_399[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_402 (Activa (None, 8, 8, 256)    0           Xception_batch_normalization_402[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block8_9_mixe (None, 8, 8, 448)    0           InceptionResNetV2_activation_196[\n",
      "                                                                 InceptionResNetV2_activation_199[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block8_9_mixed (Concat (None, 8, 8, 448)    0           Xception_activation_399[0][0]    \n",
      "                                                                 Xception_activation_402[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block8_9_conv (None, 8, 8, 2080)   933920      InceptionResNetV2_block8_9_mixed[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block8_9_conv (Conv2D) (None, 8, 8, 2080)   933920      Xception_block8_9_mixed[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block8_9 (Lam (None, 8, 8, 2080)   0           InceptionResNetV2_block8_8_ac[0][\n",
      "                                                                 InceptionResNetV2_block8_9_conv[0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block8_9 (Lambda)      (None, 8, 8, 2080)   0           Xception_block8_8_ac[0][0]       \n",
      "                                                                 Xception_block8_9_conv[0][0]     \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block8_9_ac ( (None, 8, 8, 2080)   0           InceptionResNetV2_block8_9[0][0] \n",
      "__________________________________________________________________________________________________\n",
      "Xception_block8_9_ac (Activatio (None, 8, 8, 2080)   0           Xception_block8_9[0][0]          \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_201 (C (None, 8, 8, 192)    399360      InceptionResNetV2_block8_9_ac[0][\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_404 (Conv2D)    (None, 8, 8, 192)    399360      Xception_block8_9_ac[0][0]       \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 8, 8, 192)    576         InceptionResNetV2_conv2d_201[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_40 (None, 8, 8, 192)    576         Xception_conv2d_404[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_20 (None, 8, 8, 192)    0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_404 (Activa (None, 8, 8, 192)    0           Xception_batch_normalization_404[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_202 (C (None, 8, 8, 224)    129024      InceptionResNetV2_activation_201[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_405 (Conv2D)    (None, 8, 8, 224)    129024      Xception_activation_404[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 8, 8, 224)    672         InceptionResNetV2_conv2d_202[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_40 (None, 8, 8, 224)    672         Xception_conv2d_405[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_20 (None, 8, 8, 224)    0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_405 (Activa (None, 8, 8, 224)    0           Xception_batch_normalization_405[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_200 (C (None, 8, 8, 192)    399360      InceptionResNetV2_block8_9_ac[0][\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv2d_203 (C (None, 8, 8, 256)    172032      InceptionResNetV2_activation_202[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_403 (Conv2D)    (None, 8, 8, 192)    399360      Xception_block8_9_ac[0][0]       \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv2d_406 (Conv2D)    (None, 8, 8, 256)    172032      Xception_activation_405[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 8, 8, 192)    576         InceptionResNetV2_conv2d_200[0][0\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_batch_normali (None, 8, 8, 256)    768         InceptionResNetV2_conv2d_203[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_40 (None, 8, 8, 192)    576         Xception_conv2d_403[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "Xception_batch_normalization_40 (None, 8, 8, 256)    768         Xception_conv2d_406[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_20 (None, 8, 8, 192)    0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_activation_20 (None, 8, 8, 256)    0           InceptionResNetV2_batch_normaliza\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_403 (Activa (None, 8, 8, 192)    0           Xception_batch_normalization_403[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_activation_406 (Activa (None, 8, 8, 256)    0           Xception_batch_normalization_406[\n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block8_10_mix (None, 8, 8, 448)    0           InceptionResNetV2_activation_200[\n",
      "                                                                 InceptionResNetV2_activation_203[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block8_10_mixed (Conca (None, 8, 8, 448)    0           Xception_activation_403[0][0]    \n",
      "                                                                 Xception_activation_406[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block8_10_con (None, 8, 8, 2080)   933920      InceptionResNetV2_block8_10_mixed\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block8_10_conv (Conv2D (None, 8, 8, 2080)   933920      Xception_block8_10_mixed[0][0]   \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_block8_10 (La (None, 8, 8, 2080)   0           InceptionResNetV2_block8_9_ac[0][\n",
      "                                                                 InceptionResNetV2_block8_10_conv[\n",
      "__________________________________________________________________________________________________\n",
      "Xception_block8_10 (Lambda)     (None, 8, 8, 2080)   0           Xception_block8_9_ac[0][0]       \n",
      "                                                                 Xception_block8_10_conv[0][0]    \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv_7b (Conv (None, 8, 8, 1536)   3194880     InceptionResNetV2_block8_10[0][0]\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv_7b (Conv2D)       (None, 8, 8, 1536)   3194880     Xception_block8_10[0][0]         \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv_7b_bn (B (None, 8, 8, 1536)   4608        InceptionResNetV2_conv_7b[0][0]  \n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv_7b_bn (BatchNorma (None, 8, 8, 1536)   4608        Xception_conv_7b[0][0]           \n",
      "__________________________________________________________________________________________________\n",
      "InceptionResNetV2_conv_7b_ac (A (None, 8, 8, 1536)   0           InceptionResNetV2_conv_7b_bn[0][0\n",
      "__________________________________________________________________________________________________\n",
      "Xception_conv_7b_ac (Activation (None, 8, 8, 1536)   0           Xception_conv_7b_bn[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "global_average_pooling2d_1 (Glo (None, 1536)         0           InceptionResNetV2_conv_7b_ac[0][0\n",
      "__________________________________________________________________________________________________\n",
      "global_average_pooling2d_2 (Glo (None, 1536)         0           Xception_conv_7b_ac[0][0]        \n",
      "__________________________________________________________________________________________________\n",
      "concatenate_1 (Concatenate)     (None, 3072)         0           global_average_pooling2d_1[0][0] \n",
      "                                                                 global_average_pooling2d_2[0][0] \n",
      "__________________________________________________________________________________________________\n",
      "dense_1 (Dense)                 (None, 256)          786688      concatenate_1[0][0]              \n",
      "__________________________________________________________________________________________________\n",
      "dropout_1 (Dropout)             (None, 256)          0           dense_1[0][0]                    \n",
      "__________________________________________________________________________________________________\n",
      "dense_2 (Dense)                 (None, 40)           10280       dropout_1[0][0]                  \n",
      "==================================================================================================\n",
      "Total params: 109,470,440\n",
      "Trainable params: 109,349,352\n",
      "Non-trainable params: 121,088\n",
      "__________________________________________________________________________________________________\n"
     ]
    }
   ],
   "source": [
    "x = Dense(256, activation='relu')(x)\n",
    "x = Dropout(0.5)(x)\n",
    "\n",
    "predictions = Dense(n_classess, activation='softmax')(x)\n",
    "model = Model(inputs=input_tensor, outputs=predictions)\n",
    "model.summary()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {},
   "outputs": [],
   "source": [
    "with open(f'../tmp/model_{__file__}.json','w') as f:\n",
    "    model_json = model.to_json()\n",
    "    f.write(model_json)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "metadata": {},
   "outputs": [],
   "source": [
    "ckpt = ModelCheckpoint('../tmp/ckpt-'+__file__+'-Epoch_{epoch:03d}-acc_{acc:.5f}-val_acc_{val_acc:.5f}.h5', save_best_only=True, monitor='val_acc')\n",
    "\n",
    "estop = EarlyStopping(monitor='val_acc', min_delta=1e-7,verbose=1, patience=20)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "WARNING:tensorflow:From /usr/local/lib/python3.6/dist-packages/tensorflow/python/ops/math_ops.py:3066: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version.\n",
      "Instructions for updating:\n",
      "Use tf.cast instead.\n",
      "Epoch 1/100\n",
      "2500/2500 [==============================] - 2113s 845ms/step - loss: 1.5253 - acc: 0.6091 - val_loss: 0.4980 - val_acc: 0.8545\n",
      "Epoch 2/100\n",
      "2500/2500 [==============================] - 1992s 797ms/step - loss: 0.5049 - acc: 0.8616 - val_loss: 0.4324 - val_acc: 0.8825\n",
      "Epoch 3/100\n",
      "2500/2500 [==============================] - 1985s 794ms/step - loss: 0.2466 - acc: 0.9328 - val_loss: 0.6222 - val_acc: 0.8616\n",
      "Epoch 4/100\n",
      "2500/2500 [==============================] - 1991s 796ms/step - loss: 0.1326 - acc: 0.9637 - val_loss: 0.5738 - val_acc: 0.8720\n",
      "Epoch 5/100\n",
      "2500/2500 [==============================] - 1994s 798ms/step - loss: 0.0846 - acc: 0.9772 - val_loss: 0.6277 - val_acc: 0.8710\n",
      "Epoch 6/100\n",
      "2500/2500 [==============================] - 2004s 801ms/step - loss: 0.0575 - acc: 0.9851 - val_loss: 0.6581 - val_acc: 0.8764\n",
      "Epoch 7/100\n",
      "2500/2500 [==============================] - 1983s 793ms/step - loss: 0.0454 - acc: 0.9882 - val_loss: 0.6083 - val_acc: 0.8771\n",
      "Epoch 8/100\n",
      "2500/2500 [==============================] - 1994s 797ms/step - loss: 0.0392 - acc: 0.9898 - val_loss: 0.6775 - val_acc: 0.8707\n",
      "Epoch 9/100\n",
      "2500/2500 [==============================] - 2001s 800ms/step - loss: 0.0308 - acc: 0.9918 - val_loss: 0.6355 - val_acc: 0.8812\n",
      "Epoch 10/100\n",
      "2500/2500 [==============================] - 1987s 795ms/step - loss: 0.0273 - acc: 0.9928 - val_loss: 0.7145 - val_acc: 0.8744\n",
      "Epoch 11/100\n",
      "2499/2500 [============================>.] - ETA: 0s - loss: 0.0236 - acc: 0.9936"
     ]
    }
   ],
   "source": [
    "model.compile(optimizer=Adam(lr=1e-5), loss='categorical_crossentropy', metrics=['accuracy'])\n",
    "\n",
    "model.fit_generator(\n",
    "    train_g,\n",
    "    # steps_per_epoch=100,\n",
    "    steps_per_epoch=train_g.n // batch_size,\n",
    "    epochs=100,\n",
    "    callbacks=[ckpt, estop],\n",
    "    validation_data=valid_g,\n",
    "    # validation_steps=1,\n",
    "    validation_steps=valid_g.n // batch_size\n",
    ")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "!ls"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.6.8"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
